23.11.2011, 20:55
serб isto??
pawn Код:
#define MAX_VIDA 50
#define MAX_COLETE 50
public OnPlayerUpdate(playerid)
{
if(GetPlayerHealth(playerid) > 50)
{
SetPlayerHealth(playerid,50);
}
if(GetPlayerArmour(playerid) > 50)//nao tenho certeza que seja armour =D
{
SetPlayerArmour(playerid,50);
}
}