Guest User

Untitled

a guest
Apr 23rd, 2018
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. case DIALOG_TRUCKER:
  2. {
  3. if(!response)
  4. {
  5. DestroyVehicle(TruckID[playerid]);
  6. DisablePlayerCheckpoint(playerid);
  7. CP[playerid] = 0;
  8. Trucker2[playerid] = 0;
  9. }
  10. switch(listitem)
  11. {
  12. case 0:
  13. {
  14. for(new t = 1; t < sizeof(TruckInfo); t++)
  15. {
  16. CursaAleasa[playerid] = TruckInfo[t][tID];
  17.  
  18. SCM(playerid, -1, "{008080}(Job) {FFFFFF}Transporta marfa in checkpointul aflat pe minimap pentru a primii banii.");
  19.  
  20. CP[playerid] = 5000;
  21. SetPlayerCheckpoint(playerid, TruckInfo[t][tPosX], TruckInfo[t][tPosY], TruckInfo[t][tPosZ], 5.0);
  22.  
  23. TruckTime[playerid] = TruckInfo[t][tTime];
  24.  
  25. new Float:pX,Float:pY,Float:pZ,Float:vA;
  26. GetPlayerPos(playerid,pX,pY,pZ);
  27. GetVehicleZAngle(GetPlayerVehicleID(playerid),vA);
  28.  
  29. RemorcaTruck[playerid] = CreateVehicle(435, pX+6, pY+6, pZ+6, vA, -1, -1, -1);
  30.  
  31. SetTimerEx("AttachTrailerrr", 1000, 0, "i", playerid);
  32.  
  33. TextDrawShowForPlayer(playerid, TruckerTD[0]);
  34. }
  35. }
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment