Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2018
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. if(VehicleSpawn[id] == 0)
  2. {
  3. VehicleID[id] = CreateVehicle(VehicleModel[id], VehiclePos[id][0], VehiclePos[id][1],
  4. VehiclePos[id][2], VehiclePos[id][3], VehicleColor[id][0], VehicleColor[id][1], 3600);
  5. VehicleSpawn[id]=1;
  6. format(astring, sizeof(astring), "Zespawnowałeś auto %s", VehicleNames[VehicleModel[id]-400]);
  7. SendClientMessage(playerid, COLOR_WHITE, astring);
  8. }
  9. else
  10. {
  11. DestroyVehicle(VehicleID[id]);
  12. VehicleSpawn[id]=0;
  13. format(astring, sizeof(astring), "Odspawnowałeś pojazd %s", VehicleNames[VehicleModel[id]-400]);
  14. SendClientMessage(playerid, COLOR_WHITE, astring);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement