Scripting Issues D:
#1

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.
Reply
#2

Make sure testserver.amx is in ur gamemode folder.
Reply
#3

Its not there, do I have to save another file as .amx or what? I'm confused.
Reply
#4

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.
Reply
#5

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
Reply
#6

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."
Reply
#7

Did you compile your script?
You need to compile it in order to create the .amx
Reply
#8

FUCKING WOW. I didn't compile it -.- Thanks xD
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)