[Help] How come everytime...
#1

As you can tell. I'm a noob when it comes to scripting. I'm asking how come after I compile my game mode (Comples Great!) Then I click on SA-MP Servers, it comes for a quick second and leaves. Sometimes it does it sometimes it doesn't. I only have one copy of SA-Mp Server if your wondering
Reply
#2

Check your server.log if there is any output before the server closes.
If not, you may have an error in your game, that isnt recognized by the compiler, like an invalid array index.
Reply
#3

UGh, Lol. When I checked the Server Log it said I didn't have the gamemode 0 line that was my problem, THANKS!

EDIT: It still phuced up it says the folllowing on my Server Log

[02:39:17] I couldn't load any gamemode scripts. Please verify your server.cfg
[02:39:17] It needs a gamemode0 line at the very least.
But I have the Game MODE LINE!

echo Executing Server Config...
lanmode 0
rcon_password MyRcon
maxplayers 32
port 7777
hostname MyServer
gamemode0 test 1
filterscripts adminspec vactions
announce 0
query 1
weburl www.sa-mp.com
anticheat 0
Reply
#4

does the gamemode exist in your gamemode's folder?
Reply
#5

No, the game modes are in my Pawno Folder for some reason, why? I tried moving it, doesn't work
Reply
#6

Quote:
Originally Posted by RASTAFARIAN
Посмотреть сообщение
No, the game modes are in my Pawno Folder for some reason, why? I tried moving it, doesn't work
When It compiles, the .amx file goes into the same folder as your .pwn file.
Do not copy the .pwn file into /gamemodes, the .AMX file should be in /gamemodes folder.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)