Advertisement
Guest User

Untitled

a guest
Dec 10th, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. if((route == 0 && (t_pos == 1-1 || t_pos == 14-1 || t_pos == 21-1 || t_pos == 28-1 || t_pos == 32-1 || t_pos == 34-1)))
  2. {
  3. SetPlayerRaceCheckpoint(playerid,type_bus_race,GORODSKOYLS[route][t_pos][0],GORODSKOYLS[route][t_pos][1],GORODSKOYLS[route][t_pos][2],GORODSKOYLS[route][t_pos+1][0],GORODSKOYLS[route][t_pos+1][1],GORODSKOYLS[route][t_pos+1][2],4.0);
  4. type_bus_race = 1;
  5. )
  6. //SetPlayerRaceCheckpoint(playerid,type_bus_race,GORODSKOYLS[route][t_pos][0],GORODSKOYLS[route][t_pos][1],GORODSKOYLS[route][t_pos][2],GORODSKOYLS[route][t_pos+1][0],GORODSKOYLS[route][t_pos+1][1],GORODSKOYLS[route][t_pos+1][2],4.0);
  7. else if((route == 1 && (t_pos == 1-1 || t_pos == 14-1 || t_pos == 21-1 || t_pos == 28-1 || t_pos == 32-1 || t_pos == 34-1)))
  8. {
  9. SetPlayerRaceCheckpoint(playerid,type_bus_race,GORODSKOYLS[route][t_pos][0],GORODSKOYLS[route][t_pos][1],GORODSKOYLS[route][t_pos][2],GORODSKOYLS[route][t_pos+1][0],GORODSKOYLS[route][t_pos+1][1],GORODSKOYLS[route][t_pos+1][2],4.0);
  10. type_bus_race = 1;
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement