Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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)))
- {
- 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);
- type_bus_race = 1;
- )
- //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);
- 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)))
- {
- 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);
- type_bus_race = 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement