SA-MP Forums Archive
Unknown Gamemode? - 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: Unknown Gamemode? (/showthread.php?tid=252445)



Unknown Gamemode? - acade - 01.05.2011

Hey,

For some reason, I've got all the correct plugins, everything seems good in OnGameModeInit;

http://pastebin.ca/2052525

All plugins are there, Mysql and SScanf. CreateStreamedObject is done via a function in the script.


Re: Unknown Gamemode? - willsuckformoney - 01.05.2011

These need to be at top of OnGameModeInit. Try that.

SetGameModeText("Sandy Roleplay");
EnableStuntBonusForAll(0);
DisableInteriorEnterExits();
AllowInteriorWeapons(1);
ShowPlayerMarkers(0);
//ManualVehicleEngineAndLights();


Re: Unknown Gamemode? - acade - 01.05.2011

Nope, still the same.


Re: Unknown Gamemode? - acade - 01.05.2011

The problem was this in my script:

#undef MAX_PLAYERS
#define MAX_PLAYERS 10