"I couldn't load any gamemode scripts."
#1

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

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

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

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

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

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

Код:
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.
Reply
#7

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

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?
Reply
#9

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


Forum Jump:


Users browsing this thread: 1 Guest(s)