SetPlayerArmour
#9

You should hook the function.

add this code in a include or top of the script.

pawn Код:
stock SetPlayerArmourEx(playerid,Float:amount)
{
    if(amount > 99.0) amount = 99.0;
    return SetPlayerArmour(playerid,amount);
}

#if defined _ALS_SetPlayerArmour
    #undef SetPlayerArmour
#else
    #define _ALS_SetPlayerArmour
#endif
#define SetPlayerArmour SetPlayerArmourEx

@daemon3304, You clear don't understand what he meant. You just made a command that set player health to 99.
Reply


Messages In This Thread
SetPlayerArmour - by dubyabeast - 13.06.2013, 01:29
Re: SetPlayerArmour - by PaulDinam - 13.06.2013, 01:31
Re: SetPlayerArmour - by dubyabeast - 13.06.2013, 01:32
Re: SetPlayerArmour - by daemon3304 - 13.06.2013, 05:08
Re: SetPlayerArmour - by daemon3304 - 13.06.2013, 05:22
Re: SetPlayerArmour - by Dubya - 13.06.2013, 07:03
Re: SetPlayerArmour - by daemon3304 - 13.06.2013, 07:35
Re: SetPlayerArmour - by daemon3304 - 13.06.2013, 07:37
Re: SetPlayerArmour - by Jewell - 13.06.2013, 08:00

Forum Jump:


Users browsing this thread: 1 Guest(s)