21.06.2013, 20:34
Tente assim,
Mude isso:
Para isso:
Mude isso:
pawn Код:
forward Sangrar(playerid);
public Sangrar(playerid)
{
new Float:sangrar;
SetPlayerHealth(playerid, GetPlayerHealth(playerid, sangrar-30));
}
pawn Код:
forward Sangrar(playerid);
public Sangrar(playerid)
{
new Float: Life;
GetPlayerHealth(playerid, Life);
SetPlayerHealth(playerid, (Life - 30));
}