variables and stock - 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: variables and stock (
/showthread.php?tid=426263)
variables and stock -
dominik523 - 28.03.2013
hey! I just want to ask something about variables. I have one RP gamemode, and I can see on the top of it variables like:
Код:
new Cuffed[MAX_PLAYERS];
and
Код:
//Public variables
new DoorStatus;
How can I differentiate when to use public variables and when variables which have some connection to player?
And one more thing. I added in my code stock isGarbageVehicle and under it some code. But I get an error which says that isGarbageVehicle isnt defined. Where to define it?