[Pedido] Player perder vida -30, 5 em 5 segundos
#7

Tente assim,

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

pawn Код:
forward Sangrar(playerid);
public Sangrar(playerid)
   {
    new Float: Life;
    GetPlayerHealth(playerid, Life);
    SetPlayerHealth(playerid, (Life - 30));
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)