SA-MP Forums Archive
[HELP] Cant change Mode name - 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: [HELP] Cant change Mode name (/showthread.php?tid=525591)



[HELP] Cant change Mode name - Eonik - 12.07.2014

Hello again. I tried endless ways to change mode name, but... its not working!

I tried to do the /Rcon login password and then /rcon gamemodetext and worked, but when i restarted the server... not working again!!!

I really need help...

I found this on my GM... i dont know if this is the problem. OnGameModInit




pawn Код:
new servergmtextstr[128];
    format(servergmtextstr, 128, "gamemodetext %s", SERVER_GM_TEXT);
    SendRconCommand(servergmtextstr);



Re : [HELP] Cant change Mode name - Clad - 12.07.2014

pawn Код:
public OnGameModeInIt
SendRconCommand("gamemodetext YourGameModeText");



Re: [HELP] Cant change Mode name - Eonik - 12.07.2014

Not working...


Re: [HELP] Cant change Mode name - Eonik - 13.07.2014

Anyone?


Re: [HELP] Cant change Mode name - detter - 13.07.2014

Код:
SetGameModeText("MyGameMode");



Re: [HELP] Cant change Mode name - Eonik - 13.07.2014

Didnt change...


Re: [HELP] Cant change Mode name - LarryTiger - 13.07.2014

Gamemode dind't change? Try to delete the gamemode.amx and rename the gamemode and then recompile, Tell me if it's work


Re: [HELP] Cant change Mode name - Eonik - 13.07.2014

Hello, thank you for reply, i tried that but... nothing... :\


Re: [HELP] Cant change Mode name - detter - 13.07.2014

maybe you want to change host name

in server.cfg

Код:
hostname MyGameModeblabla



Re: [HELP] Cant change Mode name - LarryTiger - 13.07.2014

Quote:
Originally Posted by Eonik
Посмотреть сообщение
Hello, thank you for reply, i tried that but... nothing... :\
If you start the server, Theres have a gamemode name right?

Like KG:RP v3.5,

Try to find the gamemode name in your gamemode

Ctrl + F "The name of gamemode"

After that, If you found it, Rename it, +REP me if i help ya'