Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if(VehicleSpawn[id] == 0)
- {
- VehicleID[id] = CreateVehicle(VehicleModel[id], VehiclePos[id][0], VehiclePos[id][1],
- VehiclePos[id][2], VehiclePos[id][3], VehicleColor[id][0], VehicleColor[id][1], 3600);
- VehicleSpawn[id]=1;
- format(astring, sizeof(astring), "Zespawnowałeś auto %s", VehicleNames[VehicleModel[id]-400]);
- SendClientMessage(playerid, COLOR_WHITE, astring);
- }
- else
- {
- DestroyVehicle(VehicleID[id]);
- VehicleSpawn[id]=0;
- format(astring, sizeof(astring), "Odspawnowałeś pojazd %s", VehicleNames[VehicleModel[id]-400]);
- SendClientMessage(playerid, COLOR_WHITE, astring);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement