Quote:
Originally Posted by newbienoob
pawn Код:
if (newkeys & KEY_HORN) { if(IsPlayerInAnyVehicle(playerid)) { new VehicleID,Float:B; VehicleID = GetPlayerVehicleID(playerid); GetVehicleZAngle(VehicleID,B); SetVehicleZAngle(VehicleID,B); SetVehicleVelocity(VehicleID, 0.0, 0.0, 0.2); SetVehicleAngularVelocity(VehicleID,0,0,0); } return 1; } if(newkeys & KEY_YES) { new veh = GetPlayerVehicleID(playerid); new Float:x,Float:y,Float:z; GetVehiclePos(veh,x,y,z); SetVehiclePos(veh,x,y,z+3); return 1; }
|
OMG! Finally. thanks man! +Rep You know this is a good script for stunt mode. sometimes if they fall out of boundary they just jump and boom! on the ground baby