Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2018
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. case 6: {
  2. if(PlayerInfo[playerid][pWantedLevel] != 0) return SCM(playerid, -1, "Nu poti munci la acest job deoarece ai wanted!");
  3. if(!PlayerToPoint(10.0, playerid, 2178.5400,-1660.4900,14.9631)) {
  4. SendClientMessage(playerid, COLOR_GREY, "Nu esti la locul unde poti incepe munca. Ti-am pus un checkpoint, du-te la el!");
  5. SetPlayerCheckpointEx(playerid, 2178.5400,-1660.4900,14.9631, 10.0);
  6. CP[playerid] = 54;
  7. return 1;
  8. }
  9. new rand = random(3);
  10. switch(rand) {
  11. case 0: SetPlayerCheckpointEx(playerid, -576.7945,-504.1007,25.5234, 5.0);
  12. case 1: SetPlayerCheckpointEx(playerid, -88.4287,-1578.8209,2.6172, 5.0);
  13. case 2: SetPlayerCheckpointEx(playerid, -1099.4426,-1645.6639,76.3672, 5.0);
  14. }
  15. format(string, sizeof(string), "Du-te la checkpoint-ul de pe mapa pentru a livra materialele!");
  16. PlayerTextDrawSetString(playerid, InfosTD, string);
  17. SetTimerEx("HideTextdraw", 8000, 0, "%d", playerid);
  18. PlayerTextDrawShow(playerid, InfosTD)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement