How do I set... easy question - 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: How do I set... easy question (
/showthread.php?tid=392794)
How do I set... easy question -
jakejohnsonusa - 15.11.2012
How would I set this: if(FlyingInfo[playerid][FlyingTest] == 1) .... I don't want the if part.... just the part that sets them to taking the flying test. How would I write it?
I thought it would be: FlyingInfo[playerid][FlyingTest] == 1 but I get a warning about having no effect.
Thanks: jakejohnsonusa
Note: I have this defined already:
Код:
enum Info
{
FlyingTest,
};
Re: How do I set... easy question -
InfiniTy. - 15.11.2012
only one = if you want to set it..
FlyingInfo[playerid][FlyingTest] = 1
Re: How do I set... easy question -
jakejohnsonusa - 15.11.2012
THANK YOU SOOOOOO MUCH! +1 Rep.