Command help
#3

pawn Код:
COMMAND:hello(playerid, params[])
{
    new pname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pname, sizeof(pname));
    if(!strcmp(pname,"Fernado"))
    {
        //Your Code goes here, what is this doing if your name is Fernado
    }
    else SendClientMessage(playerid, 0xFFFFFFFF, "You are not allowed to use this command!");
    return 1;
}
Reply


Messages In This Thread
Command help - by Fernado Samuel - 15.06.2013, 08:41
Re: Command help - by RACGaming - 15.06.2013, 08:44
Re: Command help - by RACGaming - 15.06.2013, 08:47
Re: Command help - by [HiC]TheKiller - 15.06.2013, 08:52

Forum Jump:


Users browsing this thread: 1 Guest(s)