[HELP] How to make swat trucks give armor
#9

pawn Код:
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if(oldstate == PLAYER_STATE_ONFOOT && ((newstate == PLAYER_STATE_DRIVER) || (newstate == PLAYER_STATE_PASSENGER)))
    {
        if(GetVehicleModel(vehicleid) == 601)
        SetPlayerArmour(playerid, 100.0);
    }
    return 1;
}
test this
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)