SA-MP Forums Archive
Scripting Help -> Gamemode 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: Scripting Help -> Gamemode Name (/showthread.php?tid=488774)



Scripting Help -> Gamemode Name - MarlonM - 19.01.2014

I've downloaded a Gamemode ( CoD - World at war ) and i've tried to change the Gamemode Name.
The Name is Total TDM. I've edited in gamemode.pwn but when i upload this to my server, the name stays Total TDM.

Pls Help me


Re: Scripting Help -> Gamemode Name - FailerZ - 19.01.2014

Add this in under OnGameModeInit
pawn Код:
SetGameModeText("ChangeThis"); //Change the 'ChangeThis' to anything



Re: Scripting Help -> Gamemode Name - MarlonM - 19.01.2014

@FailerZ:

This is Already in the pwn


Re: Scripting Help -> Gamemode Name - Excelize - 19.01.2014

Quote:
Originally Posted by MarlonM
Посмотреть сообщение
@FailerZ:

This is Already in the pwn
Then change the text there to change the GM name....


Re: Scripting Help -> Gamemode Name - FailerZ - 19.01.2014

Quote:
Originally Posted by MarlonM
Посмотреть сообщение
@FailerZ:

This is Already in the pwn
Can you show me it ?
And are you sure you mean Gamemode Name ? Not hostname ?


Re: Scripting Help -> Gamemode Name - MarlonM - 19.01.2014

Quote:

SetGameModeText("|COPS VS TERRORIST|");

THIS is in the gamemode changed by me.
But when i start Samp the Mode has the old name :S ( ToTal TDM )


Re: Scripting Help -> Gamemode Name - MarlonM - 19.01.2014

Here is a Picture:
http://www.myimg.de/?img=samp0960c.png


Re: Scripting Help -> Gamemode Name - Excelize - 19.01.2014

Then you go into server.cfg and go to the line 'hostname' and change it to |COPS VS TERRORIST|.


Re: Scripting Help -> Gamemode Name - MarlonM - 19.01.2014

Do you dont understand me?
I want to change the ' Mode ' Name


Re: Scripting Help -> Gamemode Name - FailerZ - 19.01.2014

Try this:
Put This under OnGameModeInit
pawn Код:
SendRconCommand("gamemodetext ChangeThis"); // Change 'ChangeThis' to anything