[HELP]Command
#2

pawn Код:
if(!strcmp(cmdtext, "/okaziparicnik", true, 41))
{
    new
        id,
        string[128],
        name[MAX_PLAYER_NAME];

    if(sscanf(params,"u", id)) return SendClientMessage(playerid,-1,"INFO:: /pokaziparicnik [ID/Ime na Igrac]");
    else if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid,-1,"Pogresan ID.");
    else
    {
        GetPlayerName(playerid, name, sizeof(name));
        format(string, sizeof(string),"Igrac %s ima $%i.",name,GetPlayerMoney(playerid));
        SendClientMessage(id,-1,string);
        SendClientMessage(playerid,-1,"Pokazao si paricnik!");
    }
    return 1;
}
Reply


Messages In This Thread
[HELP]Command - by mayk - 01.10.2011, 17:53
Re: [HELP]Command - by Kingunit - 01.10.2011, 17:57
Re: [HELP]Command - by mayk - 01.10.2011, 17:59
Re: [HELP]Command - by Kingunit - 01.10.2011, 18:01
Re: [HELP]Command - by mayk - 01.10.2011, 18:04
Re: [HELP]Command - by Kingunit - 01.10.2011, 18:30

Forum Jump:


Users browsing this thread: 3 Guest(s)