VIP Check
#4

pawn Код:
stock IsPlayerVIP(playerid)
{
    new PlName[MAX_PLAYER_NAME]; GetPlayerName(playerid, PlName, MAX_PLAYER_NAME);
    for(new i=0; i<sizeof(Vips); i++) if(!strcmp(PlName, Vips[i])) return 1;
    return 0;
}
Woops, my fault. MissTyped myself. ^^

This should do it.
Reply


Messages In This Thread
How do i check this? - by corne - 27.10.2010, 15:31
Re: VIP Check - by Jeffry - 27.10.2010, 16:12
Re: VIP Check - by corne - 27.10.2010, 16:25
Re: VIP Check - by Jeffry - 27.10.2010, 17:01

Forum Jump:


Users browsing this thread: 2 Guest(s)