Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- YCMD:getmats(playerid, params[], help) {
- if(CP[playerid] != 0)
- 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");
- if(!PlayerToPoint(10.0, playerid, 2220.5696,-1166.6804,25.7331)) {
- SCM(playerid, COLOR_GREY, "Nu esti la locul unde poti incepe munca. Ti-am pus un checkpoint, du-te la el!");
- SetPlayerCheckpointEx(playerid, 2220.5696,-1166.6804,25.7331, 5.0);
- CP[playerid] = 53;
- return 1;
- }
- SCM(playerid, -1, "{00cccc}(Job): {ffffff}Du-te la checkpoint pentru a colecta materialele");
- CP[playerid] = 156;
- SetPlayerCheckpointEx(playerid, 1726.1323,923.7427,10.8203, 5.0);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement