SA-MP Forums Archive
SA-MP 0.2.2X Server - 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: SA-MP 0.2.2X Server (/showthread.php?tid=94896)



SA-MP 0.2.2X Server - Ritchie999 - 01.09.2009

Hello,

i made a sa-mp server and for the first day or two it was working fine but after that on the information where it says Mode, it just says "Blank Script" how can i change that to give it what ever name i want?


Re: SA-MP 0.2.2X Server - Craze - 01.09.2009

pawn Код:
SetGameModeText("name of gm");



Re: SA-MP 0.2.2X Server - gszyclon - 01.09.2009

Quote:
Originally Posted by Craze (COA-RP.net)
pawn Код:
SetGameModeText("name of gm");
ye that is right i fixed this problem im my samp too !


Re: SA-MP 0.2.2X Server - Ritchie999 - 02.09.2009

Quote:
Originally Posted by Craze (COA-RP.net)
pawn Код:
SetGameModeText("name of gm");
where about in Pawno script do i put it, i cant and dont know how to script


Re: SA-MP 0.2.2X Server - Correlli - 02.09.2009

Quote:
Originally Posted by Ritchie999
where about in Pawno script do i put it, i cant and dont know how to script
OnGameModeInit callback.


Re: SA-MP 0.2.2X Server - Ritchie999 - 02.09.2009

Quote:
Originally Posted by Don Correlli
Quote:
Originally Posted by Ritchie999
where about in Pawno script do i put it, i cant and dont know how to script
OnGameModeInit callback.
still dont understand that, but i found the line that said Blank Script and i changed it, thank you


Re: SA-MP 0.2.2X Server - brett7 - 02.09.2009

for future references

public OnGameModeInit()
{
SetGameModeText("name of gm");
return 1;
}


Re: SA-MP 0.2.2X Server - Ritchie999 - 02.09.2009

Quote:
Originally Posted by brett7
for future references

public OnGameModeInit()
{
SetGameModeText("name of gm");
return 1;
}
Thank you


Re: SA-MP 0.2.2X Server - spike_killa - 02.09.2009

Do Ctrl+F then Put GameModetext or whatever it was


Re: SA-MP 0.2.2X Server - brett7 - 02.09.2009

Quote:
Originally Posted by Ritchie999
Quote:
Originally Posted by brett7
for future references

public OnGameModeInit()
{
SetGameModeText("name of gm");
return 1;
}
Thank you
no problem