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