15.10.2014, 12:34
Hello everyone, Recently i've tried to do some group/gang system. I got most of the things working, But i can't seem to be comparing two names. I wanted to do that if i create a group, i save the Leader name. If i want to delete the group , My name must match to the group leader name. But not working :/
Tried this
and this too, But
pawn Код:
#define MAX_GROUPS 10
pawn Код:
if(!strcmp(GroupInfo[9][gLeader], sendername(playerid), true))
pawn Код:
if(strcmp(sendername(playerid), GroupInfo[9][gLeader], false, strlen(sendername(playerid))))