Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Don't crash
- void explode_vehicle(int vehicle, bool kaboom)
- {
- Ped playerPed = PLAYER_PED_ID();
- if (vehicle != NULL)
- {
- if (!kaboom)
- {
- SET_VEHICLE_OUT_OF_CONTROL(vehicle, 0, 1);
- drawNotification("Don't Crash ;)");
- }
- else
- {
- SET_VEHICLE_OUT_OF_CONTROL(vehicle, 0, 0);
- drawNotification("Disarmed");
- }
- }
- else
- drawNotification("~r~Error: Vehicle = NULL?");
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement