SA-MP Forums Archive
"I couldn't load any gamemode scripts." - 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)
+--- Thread: "I couldn't load any gamemode scripts." (/showthread.php?tid=517811)



"I couldn't load any gamemode scripts." - Gogorakis - 06.06.2014

Well..I am trying to open my server and it says:
Код:
[00:35:06] I couldn't load any gamemode scripts. Please verify your server.cfg
[00:35:06] It needs a gamemode0 line at the very least.
My server.cfg file:
Код:
echo Executing Server Config...
lanmode 0
rcon_password xxx
maxplayers 250
port 7777
hostname Europe RolePlay English 0.3z
gamemode0 SOM 1
filterscripts bowling objects-server
plugins sscanf encrypt crashdetect
announce 1
query 1
weburl -
maxnpc 500
onfoot_rate 30
incar_rate 30
weapon_rate 40
stream_distance 500.0
stream_rate 1000
mapname Los Santos
Help someone?


Re: "I couldn't load any gamemode scripts." - MattTucker - 06.06.2014

Did you compile the gamemode? If yes, check if the name matches. (If its "SoM" then write it "SoM" - without quotation marks)


Re: "I couldn't load any gamemode scripts." - iFiras - 06.06.2014

Hmm, that's odd. Try recompiling the script and open sampserver.exe once again.

Maybe, try putting website? Like www.sa-mp.com


Re: "I couldn't load any gamemode scripts." - gotwarzone - 06.06.2014

Try change your web url
-Make sure you re-compiled
-And also make sure if the gamemode name is exactly the same


Re: "I couldn't load any gamemode scripts." - Gogorakis - 06.06.2014

Still nothing but it appears me 2 warnings..
Код:
C:\Users\User\Desktop\ServerNeu\GameMode\SOM.pwn(46390) : warning 202: number of arguments does not match definition
C:\Users\User\Desktop\ServerNeu\GameMode\SOM.pwn(49753) : warning 203: symbol is never used: "M_Connect"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


2 Warnings.
Should I ignore them?


Re: "I couldn't load any gamemode scripts." - MattTucker - 06.06.2014

Код:
C:\Users\User\Desktop\ServerNeu\GameMode\SOM.pwn(46390) : warning 202: number of arguments does not match definition
Not this one... Show us line number 46389, 46390, 46391.


Re: "I couldn't load any gamemode scripts." - Gogorakis - 06.06.2014

Код:
 	WBB_BanUser(GetName(giveplayerid),grund,1);
	BanEx(giveplayerid);
	return 1;
grund=reason


Re: "I couldn't load any gamemode scripts." - davve95 - 06.06.2014

I'm not fully sure but I think you can't use a space between 1 and SOM.

Try to rename it to SOM1 instead.
Plus the gamode.

When I finished writing this I noticed that you might mean SOM1 with something.
Nvm then, not fully sure though.

And also:

Have you checked the plugins?.
Are your firewall allowing it? (Windows Defender).
You can check your anti virus too.
Does filterscripts works?


Re: "I couldn't load any gamemode scripts." - Konstantinos - 06.06.2014

SOM.amx should be inside "gamemodes" folder and not "GameMode".