01.06.2009, 21:27
make sure about this if statement:
This means that if " you " ( pMember ) is NOT! 1 OR You ( Leader ) is NOT! 1 Then do this...
i think your problem is with the If statement
try to replace the " || " to " && " so it will say that if pmember is not 1 AND pleader is not 1 then...
|| means OR
&& means AND
Logic Gates will come useful in these things
This means that if " you " ( pMember ) is NOT! 1 OR You ( Leader ) is NOT! 1 Then do this...
Код:
if(PlayerInfo[playerid][pMember] != 1 ||PlayerInfo[playerid][pLeader] != 1)
try to replace the " || " to " && " so it will say that if pmember is not 1 AND pleader is not 1 then...
|| means OR
&& means AND
Logic Gates will come useful in these things

