18.06.2016, 20:14
Код:
public OnPlayerUpdate(playerid) { if(IsPlayerInCheckpoint(playerid) && bSpeedFrozen[playerid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0); }
public OnPlayerUpdate(playerid) { if(IsPlayerInCheckpoint(playerid) && bSpeedFrozen[playerid] && GetPlayerState(playerid) == PLAYER_STATE_DRIVER) SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0); }