Comparing string :(
#1

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 :/

pawn Код:
#define MAX_GROUPS 10
Tried this
pawn Код:
if(!strcmp(GroupInfo[9][gLeader], sendername(playerid), true))
and this too, But
pawn Код:
if(strcmp(sendername(playerid), GroupInfo[9][gLeader], false, strlen(sendername(playerid))))
Reply


Messages In This Thread
Comparing string :( - by Rudy_ - 15.10.2014, 12:34
Re: Comparing string :( - by Anzipane - 15.10.2014, 12:39
Re: Comparing string :( - by Rudy_ - 15.10.2014, 12:45
Re: Comparing string :( - by Anzipane - 15.10.2014, 12:47
Re: Comparing string :( - by Cell_ - 15.10.2014, 12:50
Re: Comparing string :( - by Rudy_ - 15.10.2014, 12:51
Re: Comparing string :( - by Rudy_ - 15.10.2014, 12:53
Re: Comparing string :( - by Blunt - 15.10.2014, 12:54
Re: Comparing string :( - by Cell_ - 15.10.2014, 13:21
Re: Comparing string :( - by Rudy_ - 15.10.2014, 13:29

Forum Jump:


Users browsing this thread: 2 Guest(s)