AloneZ

Untitled

Jun 9th, 2015
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.51 KB | None | 0 0
  1. public OnVehicleSpawn(vehicleid)
  2. {
  3.     new mot, lu, alar, por, cap, porma, ob;
  4.     GetVehicleParamsEx(vehicleid, mot, lu, alar, por, cap, porma, ob);
  5.     SetVehicleParamsEx(vehicleid, VEHICLE_PARAMS_OFF, lu, alar, por, cap, porma, ob);
  6.     somligado[vehicleid] = 0;
  7.     for(new c = 0; c < sizeof(Carro); c++)
  8.     {
  9.         if(Carro[c][CarroID] == vehicleid)
  10.         {
  11.             CarregarTunning(c);
  12.         }
  13.     }
  14.     if(VeiculoNeon[vehicleid] != 0) DestroyDynamicObject(VeiculoNeon[vehicleid]);
  15.     return 1;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment