08.07.2014, 15:45
Im asking is there any SCRIPT/CODE/SNIPPET to make the car brake ?
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
if ((newkeys & KEY_YES) && !(oldkeys & KEY_YES))
{
if(!IsPlayerInAnyVehicle(playerid))return 1;
SetVehicleVelocity(GetPlayerVehicleID(playerid), 0.0, 0.0, 0.0);
}
return 1;
}