[AJUDA] Vida Hospital
#4

pawn Код:
// Topo do GameMode
new
    bool: SetouVida[MAX_PLAYERS char]
;

// No comando

if(SetouVida[playerid] == true) return SendClientMessage(playerid, -1, "Vocк jб ganhou vida a pouco tempo, aguarde 10 segundos");
else
{
    if (DistanciaPontos(1607.537353, 1817.338500, ppx, ppy) < 3)    return SetPlayerHealth(playerid, 100.000000); // VIDA HOSPITAL LV
    SetouVida[playerid] = true;
    SetTimer("Delay", 10000, false);
}


// No final do Gamemode

forward Delay();
public Delay()
{
    return SetouVida[playerid] = false;
}

Use e abuse.

\/
Reply


Messages In This Thread
[AJUDA] Vida Hospital - by Mattos - 10.10.2011, 04:10
Re: [AJUDA] Vida Hospital - by Vai_Besta - 10.10.2011, 04:16
Re: [AJUDA] Vida Hospital - by Mattos - 10.10.2011, 04:17
Re: [AJUDA] Vida Hospital - by DreeH - 10.10.2011, 04:23
Re: [AJUDA] Vida Hospital - by Case Sensitive - 10.10.2011, 04:29
Re: [AJUDA] Vida Hospital - by Vai_Besta - 10.10.2011, 04:29

Forum Jump:


Users browsing this thread: 1 Guest(s)