IsPlayerName ???
#5

Just made this real fast;

pawn Код:
stock IsPlayerName(playerid,playername[])
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid,pname,MAX_PLAYER_NAME);
    if(!strcmp(pname,playername)) return 1;
    else return 0;
}
USAGE:
pawn Код:
if(IsPlayerName(playerid,"INSERTNAME"))
{

}
Reply


Messages In This Thread
IsPlayerName ??? - by jNkk - 16.05.2011, 12:09
Re: IsPlayerName ??? - by eDz0r - 16.05.2011, 12:15
Re: IsPlayerName ??? - by Raimis_R - 16.05.2011, 12:16
Re: IsPlayerName ??? - by mamorunl - 16.05.2011, 12:19
Re: IsPlayerName ??? - by Mike Garber - 16.05.2011, 12:23
Re: IsPlayerName ??? - by jNkk - 16.05.2011, 12:24
Re: IsPlayerName ??? - by eDz0r - 16.05.2011, 12:39
Re: IsPlayerName ??? - by [NoV]LaZ - 16.05.2011, 12:43
Re: IsPlayerName ??? - by jNkk - 16.05.2011, 12:45
Re: IsPlayerName ??? - by [NoV]LaZ - 16.05.2011, 13:07

Forum Jump:


Users browsing this thread: 8 Guest(s)