23.03.2015, 20:24
Well, to be honest I always check for truthy values (in pawn, js/php is another pair of boots). But it's partially your fault (not really)! I always check API first
And I for some reason (premature microoptimising Pcode size I guess) did
instead of &&
Quote:
<summary>Group_GetPlayer</summary> <param name="Group:g">Group to check.</param> <param name="p">Player to check.</param> <returns> Is this player in this group? </returns> |
pawn Код:
if(Group_GetPlayer(Users, pid) == Group_GetPlayer(Admins, pid))