What is the difference (static and new) - 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: What is the difference (static and new) (
/showthread.php?tid=297132)
What is the difference (static and new) -
DayaKisteme - 14.11.2011
and
what is the difference
where to use whichever
Can i use both at the same ?
onplayerdeath > var++;
....
Re: What is the difference (static and new) -
Vince - 14.11.2011
Static declares that variable to that file only, and as so is particularly useful in includes.