Scripting Issues D: -
Slothy - 11.12.2011
Okay, so I'm new to SA-MP scripting.
I'm literally a complete beginner, so I was searching around for some tutorials, I found one that I could be bothered to read and it said to test your server by starting pawno, creating a new pawn file and saving it as "testserver", just to check I had everything working.
So I saved the file, went in my server.cfg, changed the RCON pass, changed the game mode to "testserver 1" and ran the server, but when I did run the server, it closed straight away and when I checked the log It said "I couldn't load any gamemode scripts. Please verify your server.cfg It needs a gamemode0 line at the very least."
The problem with this is, I have checked it and I do have a gamemode0 line and I do have a gamemode selected.
Something I did notice though is that I did not have a .amx file.
Im really confused D: Any help is appreciated, thanks in advance.
Slothy.
Re: Scripting Issues D: - suhrab_mujeeb - 11.12.2011
Make sure testserver.amx is in ur gamemode folder.
Re: Scripting Issues D: -
Slothy - 11.12.2011
Its not there, do I have to save another file as .amx or what? I'm confused.
Re: Scripting Issues D: - suhrab_mujeeb - 11.12.2011
Nope, just find the testserver.amx file and paste it in the gamemode directory. If you still can't do it, PM me ur teamviewer and I'd be happy to help.
Re: Scripting Issues D: -
iTorran - 11.12.2011
Make sure the .pwn is in your gamemodes folder, and then compile the script.
That will create a .amx and then your server will (should) run
Re: Scripting Issues D: -
Slothy - 11.12.2011
Quote:
Originally Posted by iTorran
Make sure the .pwn is in your gamemodes folder, and then compile the script.
That will create a .amx and then your server will (should) run
|
I have testserver.pwn in my gamemode folder, but as I said, when I run my server I get the "I couldn't load any gamemode scripts. Please verify your server.cfg. It needs a gamemode0 line at the very least."
Re: Scripting Issues D: -
iTorran - 11.12.2011
Did you compile your script?
You need to compile it in order to create the .amx
Re: Scripting Issues D: -
Slothy - 11.12.2011
FUCKING WOW. I didn't compile it -.- Thanks xD