Making a cmd that only a X name can use.
#3

/\ in words

pawn Код:
CMD:command(playerid, params[]) {
    new
        name[MAX_PLAYER_NAME];
    GetPlayerName(playerid, name, sizeof name);
    if(!strcmp(name, "recardo178", false) || !strcmp(name, "yourfriend", false)) {
        return true;
    }
    return false;
}
Reply


Messages In This Thread
Making a cmd that only a X name can use. - by ricardo178 - 10.08.2011, 17:24
Re: Making a cmd that only a X name can use. - by linuxthefish - 10.08.2011, 17:26
AW: Making a cmd that only a X name can use. - by Nero_3D - 10.08.2011, 17:26
Re: Making a cmd that only a X name can use. - by ricardo178 - 10.08.2011, 18:02

Forum Jump:


Users browsing this thread: 1 Guest(s)