01.06.2011, 12:41
If the group id of 0 is not valid:
Else:
pawn Код:
if(Leader[playerid] > 0) PutPlayerInGroup(playerid, Leader[playerid]);
else if(Member[playerid] > 0) PutPlayerInGroup(playerid, Member[playerid]);
pawn Код:
if(Leader[playerid] != INVALIDGROUPHERE) PutPlayerInGroup(playerid, Leader[playerid]);
else if(Member[playerid] != INVALIDGROUPHERE) PutPlayerInGroup(playerid, Member[playerid]);