How can i brake
#1

Im asking is there any SCRIPT/CODE/SNIPPET to make the car brake ?
Reply
#2

u mean blast it or break it visibley?
Reply
#3

I want the car to start braking (like pressing "s" while driving it).
Reply
#4

pawn Код:
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;
}
this will brake ur car when you press Y key
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)