[Help] How to do that no one in this variable and will happend something... - 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: [Help] How to do that no one in this variable and will happend something... (
/showthread.php?tid=271178)
[Help] How to do that no one in this variable and will happend something... -
Nukest - 23.07.2011
Hello.
I need to do something like that:
How to do if no one in the variable Mafia[playerid] = 1, so its will starting timer?
and if u can how to do that no one in the color 0xFFFFFF00 so will starting timer...
Sorry if my english isn't good..
Good day!
Re: [Help] How to do that no one in this variable and will happend something... -
MoroDan - 23.07.2011
I haven't understand anything ...
Re: [Help] How to do that no one in this variable and will happend something... -
linuxthefish - 23.07.2011
pawn Code:
if(Mafia[playerid] == 1) SetTimer("function", 1000, false);
https://sampwiki.blast.hk/wiki/Function:SetPlayerColor
Re: [Help] How to do that no one in this variable and will happend something... -
Nukest - 23.07.2011
I want to check if no one in this Color:
0xFFFFFF00
or in this Team:
Mafia[playerid]