SA-MP Forums Archive
Blank Script? - 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: Blank Script? (/showthread.php?tid=587745)



Blank Script? - Brys - 02.09.2015

How to fix this? the server works fine


Re: Blank Script? - Ghazal - 02.09.2015

Add this line under OnGameModeInit

pawn Код:
SetGameModeText("I am not a blank script!");



Re: Blank Script? - ZaBraNjeNi - 02.09.2015

Код:
public OnGameModeInit()
{
    SetGameModeText("Team Deathmatch");
    return 1;
}



Re: Blank Script? - Brys - 02.09.2015

Yep I have Set it already.. somehow it changed now... any other solutions?


Re: Blank Script? - Ghazal - 02.09.2015

Quote:
Originally Posted by Brys
Посмотреть сообщение
Yep I have Set it already.. somehow it changed now... any other solutions?
Then you are probably using 'SetGameModeText' two times.


Re: Blank Script? - HydraHumza - 02.09.2015

edit ur server cfg file to change ur default gamemode name or u can change that by adding that
Код:
public OnGameModeInit()
{
    SetGameModeText(" ..... "); // Add your game mode name 
    return 1;
}



Re: Blank Script? - ZaBraNjeNi - 02.09.2015

To find use: CTRL + F then type SetGameModeText and change it.