Armour Regeneration Scripting Help
#4

pawn Код:
CMD:hm(playerid,params[])
{
    if(!IsPlayerInRangeOfPoint(playerid,10.0,0.00,0.00,0.00)) return SendClientMessage(playerid,-1,"You are not in the position to get Armour Regeneration!");
    else
    {
        SetPlayerHealth(playerid,100);
        SetPlayerArmour(playerid,100);
    }
    return 1;
}
replace 10.0 with the distance from your point, and the 0.00(s) to where you want the Command to be used at (aka your point).
Reply


Messages In This Thread
Armour Regeneration Scripting Help - by LMaxCo - 05.01.2015, 12:05
Re: Armour Regeneration Scripting Help - by M4D - 05.01.2015, 12:08
Re: Armour Regeneration Scripting Help - by ATGOggy - 05.01.2015, 12:09
Re: Armour Regeneration Scripting Help - by Banana_Ghost - 05.01.2015, 12:10

Forum Jump:


Users browsing this thread: 1 Guest(s)