Guard/Armor ppl, so they have to accept it!
#3

pawn Код:
ocmd:armor(playerid,params[])
{
    static pID,amount;.
    if(sscanf(params,"ui",pID,amount)) return SendClientMessage(playerid,COLOR_RED, "/armor ID Amount");
        static string[128];
        SetPlayerArmour(pID, amount);
    PlayerSave(pID);
    format(string,sizeof(string),"%s offered you protection for %s.",Charname(playerid),amount);
    SendClientMessageToAll(COLOR_LIGHTBLUE,string);
    return 1;
}
I do not know "oCMD", more try
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)