SA-MP Forums Archive
Gamemode wont initiate. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gamemode wont initiate. (/showthread.php?tid=107053)



Gamemode wont initiate. - Durability - 07.11.2009

Hi guys, I'm trying to host my script but I cannot get it to load my gamemode.

Quote:
Originally Posted by Server.cfg
echo Executing Server Config...
lanmode 0
rcon_password Test123
maxplayers 50
port 7777
hostname Virtual
gamemode0 DEF 1
gamemode1 DEF2 1
gamemode2 DEF3 1
filterscripts actions adminspec AutoTuning rconecho TowCars vactions Vehicles_system
announce 0
query 1
weburl
maxnpc 10
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
This is my server CFG, and I cannot make it initiate, it tells that:
[20:56:10] I couldn't load any gamemode scripts. Please verify your server.cfg
[20:56:10] It needs a gamemode0 line at the very least.

And I've tried to look around, however I cannot find anything for this to function, as I've tried everything I could.

Is my gamemode setup wrong or ?

And my gamemodes are supposed to be in .pwn right ?


Re: Gamemode wont initiate. - miokie - 07.11.2009

Quote:
Originally Posted by Durability

And my gamemodes are supposed to be in .pwn right ?
You have the compile your scripts by pressing F5 in the Pawno Editor. So they turn into a .amx. Then they will work.