SA-MP Forums Archive
How do I change game-modes? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: How do I change game-modes? (/showthread.php?tid=260228)



How do I change game-modes? - Luke_James - 07.06.2011

I've got my server running successfully and I want to change my game-mode from the default Grand Larceny to The Godfather. I've downloaded The Godfather and put all of the files in their correct areas and I tried "/rcon gamemodetext gf" and it didn't do anything I then tried "/rcon changemode gf" and then I typed "/rcon gmx" and it restarted the server, but it was still GL. Can anyone help me?


Re: How do I change game-modes? - Force_ - 07.06.2011

on server.cfg, where it says "grandlarc 1" change it to "gf 1" (or the GM's name), and restart the server.


Re: How do I change game-modes? - dannyk0ed - 07.06.2011

... go to server.cfg.
Go to gamemodes
Replace GrandLarcemy with "gf" gamemode0 gf 1
Save it, run server. That hard?


Re: How do I change game-modes? - Luke_James - 07.06.2011

That's what I did, but it just tells me that

"[00:34:19] I couldn't load any gamemode scripts. Please verify your server.cfg
[00:34:19] It needs a gamemode0 line at the very least."

Also the download contains gf.pwn but not gf.amx


Respuesta: How do I change game-modes? - K9- - 07.06.2011

open gf.pwn, press F5.


Re: How do I change game-modes? - Luke_James - 08.06.2011

What does that do?

Also, I tried Raven's script, and everytime I try to connect it says "Could not connect to server, retrying..."


Re: How do I change game-modes? - Firzendxiw - 08.06.2011

If you only have gf.pwn you need to open it in the pawno.exe and compile it. Then try


Re: How do I change game-modes? - Luke_James - 08.06.2011

Ah yes, I've got it working now - thank you. I've modified it a little bit as the quality of communication was lacking a little. How do I make myself admin? I can't find an rcon command for it, also how do I change the health, money and bank amount a new person starts with? currently they're at ridiculous values


Re: How do I change game-modes? - Firzendxiw - 08.06.2011

You will have to go through the code and find the amounts defined. IDK about the admin thing, I mean idk if the GF has Admin System built into it or you have a different one


Re: How do I change game-modes? - Firzendxiw - 08.06.2011

Skidmarks I suggest you read this before posting. It was solved awhile ago
Quote:
Originally Posted by Luke_James
Посмотреть сообщение
Ah yes, I've got it working now - thank you. I've modified it a little bit as the quality of communication was lacking a little. How do I make myself admin? I can't find an rcon command for it, also how do I change the health, money and bank amount a new person starts with? currently they're at ridiculous values