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



Static - mamalzeus - 19.01.2015

Hi !
What's Static in game mode?
i sea like this :

static PlayerSetFreq[MAX_PLAYERS][10],
CallWaiting[MAX_PLAYERS],
LastPID,
TimerRingTone[MAX_PLAYERS],
...


Re: Static - Matess - 19.01.2015

normal variable, but after first initialization you can't change it anymore

//ah fail


Re: Static - Vince - 19.01.2015

No, that's const.

https://sampwiki.blast.hk/wiki/Keywords:Initialisers#static