Guest User

Untitled

a guest
Jan 6th, 2018
325
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.89 KB | None | 0 0
  1. YCMD:getmats(playerid, params[], help) // linia 10745
  2. {
  3. if(PlayerData[playerid][Job] != 6) return SendClientMessage(playerid, COLOR_WHITE, "Nu ai jobul Arms Dealer.");
  4. if(!PlayerToPoint(7,playerid,594.7841,-1245.8644,18.1321)) return SendClientMessage(playerid, COLOR_WHITE, "Nu esti langa jobul Arms Dealer.");
  5. if(Checkpoint[playerid] != 0 || FindPlayer[playerid] != -1) return HaveCheckpoint(playerid); // linia 10749
  6. if(PlayerData[playerid][Cash] < 100) return SendClientMessage(playerid, COLOR_WHITE, "Nu ai suma necesara de bani. ($100)");
  7. SendClientMessage(playerid, COLOR_YELLOW, "Du-te la checkpoint-ul de pe mapa.");
  8. new workcar = CreateVehicleEx(499, 594.7841, -1245.8644, 18.1321, 180.0, -1, -1, -1);
  9. PutPlayerInVehicleEx(playerid, workcar, 0);
  10. SetPlayerCheckpoint(playerid, 2700.3159,-2386.4363,13.6328, 7.0); // 10754
  11. Checkpoint[playerid] = 8;
  12. return 1;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment