Name Comparing stock
#1

Well i just made this stock to compair names i dont know if it works but you can tell me ^_^

pawn Код:
stock CompareName(playerid, name2[])
{
new
name[ MAX_PLAYER_NAME ];
GetPlayerName(playerid, name, sizeof(name));
if(!strcmp(name, name2, false, MAX_PLAYER_NAME)) return true;
return false;
}
Credits:
//exora for fixing it
IamNotKoollll
Reply
#2

No
Reply
#3

pawn Код:
stock CompareName(playerid, name2[])
{
    new
        name[ MAX_PLAYER_NAME ];
    GetPlayerName(playerid, name, sizeof(name));
    if(!strcmp(name, name2, false, MAX_PLAYER_NAME)) return true;
    return false;
}
PS: Use [ pawn ] [ /pawn ] tags.
Reply
#4

Quote:
Originally Posted by ♣ Joker ♠
No
u make me cry
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)