How to add a game-mode?? - 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: How to add a game-mode?? (
/showthread.php?tid=68528)
How to add a game-mode?? -
Mattaffix - 11.03.2009
hey i wanna add a game-mode ...i know this sounds newb but i just wanna learn:::
pls can u help me?
Gratz XblueX
Re: How to add a game-mode?? -
Charles - 11.03.2009
Go into SA-MP Server folder, open server.cfg and there's a gamemode line, add the gamemodes name in there and remember that it has to be a .amx file, so if you have made your own script then compile it and the .amx will be automaticly produced. Oh and just to help you out if you didn't know the Gamemodes are located in the Gamemodes folder
Re: How to add a game-mode?? -
Mattaffix - 11.03.2009
U MEAN LIKE THIS?
cause i tried before and it won't work
Re: How to add a game-mode?? -
Charles - 11.03.2009
gamemode0 CnR
Like this, it should and must work if you got the correct files...
Re: How to add a game-mode?? -
Mikep - 11.03.2009
gamemode0 CnR 1
Re: How to add a game-mode?? -
Mattaffix - 11.03.2009
it still doesn't work wtf is wrong with this

do i need something else??
Re: How to add a game-mode?? -
mascii - 11.03.2009
Awww i feel sorry 4 u lol,
K so in ur server.cfg file you should have ur gamemode line like this
then in you gamemodes folder open up your CnR file with the program 'pawno' ( which is in another folder in your server folder) and then press f5 to complie it ( if you open it and it looks like somthing from outer space like weird letters, then you have the wrong file)
Then start up your server
I hope this helps, if u need anymore help you can ask me