Armour not working.
#3

Quote:
Originally Posted by BreakStore
Посмотреть сообщение
Try this command:
PHP код:
CMD:setarmor(playerid,params[])
{
    new 
playa,armor;
    if(
PlayerInfo[playerid][pAdmin] <= || PlayerInfo[playerid][pEventModd] < 0) return AdmErrorMsg;
    if(
sscanf(params"ui"playaarmor)) return SendClientMessage(playeridCOLOR_GREY"{00BFFF}Usage:
   {FFFFFF} /setarmor [playerid/PartOfName] [armor]"
);
    if(
IsPlayerConnected(playa)
    {
         
strmid(giveplayerPlayerICName(playa), 0MAX_PLAYER_NAME);
     
SetPlayerArmour(playa100);
         
format(strsizeof(str), "You have set %s's armor to %d."giveplayerarmor);
     
SendClientMessage(playeridCOLOR_GREYstr);   
    }
    return 
1;

I don't think thats right? Could you please explain?
Reply


Messages In This Thread
Armour not working. - by Clergy - 01.10.2017, 14:07
Re: Armour not working. - by BreakStore - 01.10.2017, 14:13
Re: Armour not working. - by Clergy - 01.10.2017, 14:25
Re: Armour not working. - by BreakStore - 01.10.2017, 14:26
Re: Armour not working. - by FuNkYTheGreat - 01.10.2017, 14:44
Re: Armour not working. - by Clergy - 01.10.2017, 15:49
Re: Armour not working. - by Sew_Sumi - 01.10.2017, 16:07
Re: Armour not working. - by Clergy - 01.10.2017, 16:59
Re: Armour not working. - by RxErT - 01.10.2017, 17:02
Re: Armour not working. - by Clergy - 01.10.2017, 17:28

Forum Jump:


Users browsing this thread: 1 Guest(s)