15.10.2014, 12:53
Quote:
Are you sure you are going for faction ID 9 and that both names match? Try printing both strings (leader name, player name) and see if they match.
Edit: Didn't see the above post, he has posted while I was typing.. |
if (strcmp(GroupInfo[9][gLeader], sendername(playerid)) == 0)
I tried it like this before
pawn Код:
if (strcmp(GroupInfo[MAX_GROUPS][gLeader], sendername(playerid)) == 0)
Код:
error 032: array index out of bounds (variable "GroupInfo")