Advertisement
Calgon

Untitled

Apr 16th, 2011
432
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.57 KB | None | 0 0
  1. stock UnlockVehicle(vehicleid) {
  2.     new engine, lights, alarm, doors, bonnet, boot, objective;
  3.     GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
  4.     SetVehicleParamsEx(vehicleid, engine, lights, alarm, true, bonnet, boot, objective);
  5.     return 1;
  6. }
  7.  
  8. stock LockVehicle(vehicleid) {
  9.     new engine, lights, alarm, doors, bonnet, boot, objective;
  10.     GetVehicleParamsEx(vehicleid, engine, lights, alarm, doors, bonnet, boot, objective);
  11.     SetVehicleParamsEx(vehicleid, engine, lights, alarm, false, bonnet, boot, objective);
  12.     return 1;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement