GetGameModeText - 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: GetGameModeText (
/showthread.php?tid=243209)
GetGameModeText -
sciman001 - 22.03.2011
Is it possible to get the gamemode text and save it as a value? ex. new gmt = GetGameModeText(); Or something like that..
Re: GetGameModeText -
sciman001 - 22.03.2011
ANYONE


??
Re: GetGameModeText -
pawn_ - 22.03.2011
Save it in a variable...
pawn Код:
new gmtext[32];
public OnGameModeInit()
{
SetGameModeText("Test");
strmid(gmtext, "Test", 0, strlen("Test"), 255);
return 1;
}
GetGameModeText()
{
return gmtext;
}