14.04.2012, 15:53
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;
}

