Guest User

HERE

a guest
Jan 10th, 2015
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. if(IsTruckerCar(vehicleid))
  2. {
  3. if(PlayerInfo[playerid][pJob] != JOB_TRUCKER && PlayerInfo[playerid][pVIPJob] != JOB_TRUCKER)
  4. {
  5. SendClientMessage(playerid, COLOR_ORANGE, "You are not a Trucker.");
  6. new Float:pos[3];
  7. GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
  8. SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
  9. return 1;
  10. }
  11. else
  12. {
  13. SetPlayerCheckpoint(playerid, 325.2717,2544.1748,16.8077, 7);
  14. SendClientMessage(playerid, COLOR_GREY, "Head to the loading bay and load up your truck.");
  15. return 1;
  16. }
  17.  
  18. if(!PlayerInfo[playerid][pDelivery])
  19. {
  20. SendClientMessage(playerid, COLOR_ORANGE, "You are not on a delivery.");
  21. new Float:pos[3];
  22. GetPlayerPos(playerid, pos[0], pos[1], pos[2]);
  23. SetPlayerPos(playerid, pos[0], pos[1], pos[2]);
  24. return 1;
  25. }
  26. }
Advertisement
Add Comment
Please, Sign In to add comment