Back to community

anyone know why my script keeps crashing on resource start??

67 rep111 views1 min read

i'm trying to start my custom job script and every time the server boots it just crashes with "couldn't start resource". i've checked the manifest 3 times.

fx_version 'cerulean'
game 'gta5'

client_script 'client.lua'
server_script 'server.lua'

both files exist. literally been at this for 4 hours. ready to throw my pc.

4 4 commentsSign in to vote

Comments (4)

Sign in to leave a comment.
  • paste the full server console output when the resource tries to start. without that we're guessing

    3 points
    • xxshadowxx99

      got it, was a missing comma in my server.lua line 47. felt dumb when i saw it lol thx

  • check ur server console for the exact error, "couldn't start" is just the symptom. 9/10 times it's a syntax error in one of the files

    3 points
  • also try client_scripts (plural) even tho both work in newer versions, some weird older artifacts still glitch

    0 points