I need anti hydra!
#8

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
    {
        new vehicleid = GetPlayerVehicleID(playerid);
        if(GetVehicleModel(vehicleid) == 520)
        {
            SetPlayerHealth(playerid, 0);
            DestroyVehicle(vehicleid);
        }
    }
    return 1;
}
Reply


Messages In This Thread
Solved. - by HyperZ - 20.08.2010, 10:51
Re: I need anti hydra! - by aceisnice - 20.08.2010, 10:52
Re: I need anti hydra! - by HyperZ - 20.08.2010, 10:54
Re: I need anti hydra! - by playbox12 - 20.08.2010, 10:56
Re: I need anti hydra! - by Claude - 20.08.2010, 10:56
Re: I need anti hydra! - by R@ger - 20.08.2010, 10:59
Re: I need anti hydra! - by playbox12 - 20.08.2010, 11:01
Re: I need anti hydra! - by [NWA]Hannes - 20.08.2010, 11:03
Re: I need anti hydra! - by HyperZ - 20.08.2010, 13:14
Re: I need anti hydra! - by gamer931215 - 20.08.2010, 13:17

Forum Jump:


Users browsing this thread: 1 Guest(s)