Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. YCMD:getmats(playerid, params[], help) {
  2. if(CP[playerid] != 0)
  3. return ShowPlayerDialog(playerid, DIALOG_CHECKPOINT, DIALOG_STYLE_MSGBOX, "Checkpoint", "Ai deja un checkpoint activ.\nDoresti sa-l anulezi? Daca da, apasa pe 'Ok'.", "Ok", "Exit");
  4. if(!PlayerToPoint(10.0, playerid, 2220.5696,-1166.6804,25.7331)) {
  5. SCM(playerid, COLOR_GREY, "Nu esti la locul unde poti incepe munca. Ti-am pus un checkpoint, du-te la el!");
  6. SetPlayerCheckpointEx(playerid, 2220.5696,-1166.6804,25.7331, 5.0);
  7. CP[playerid] = 53;
  8. return 1;
  9. }
  10. SCM(playerid, -1, "{00cccc}(Job): {ffffff}Du-te la checkpoint pentru a colecta materialele");
  11. CP[playerid] = 156;
  12. SetPlayerCheckpointEx(playerid, 1726.1323,923.7427,10.8203, 5.0);
  13. return 1;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement