Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.87 KB | None | 0 0
  1. CMD:work2(playerid, params[]) {
  2.        if(PlayerInfo[playerid][pJob] != 3) retun SCM(playerid, -1, "nu ai jobu");
  3.        if(!IsPlayerInRangeOfPoint(playerid,10,  2173.1504,-2267.9075,13.3782))
  4.        {
  5.             SCM(playerid, COLOR_GREY,"Nu esti la locul de unde se incep misiunile. Urmeaza punctul rosu de pe harta.");
  6.             SetPlayerCheckpointEx(playerid,2173.1504,-2267.9075,13.3782, 6.0);
  7.             CP[playerid] = 43;
  8.             return 1;
  9.         }
  10.         new Float:x,Float:y,Float:z;
  11.         GetPlayerPos(playerid, x, y, z);
  12.         JobVehicle[playerid] = AddStaticVehicle(448, x,y+1,z, 0.0,  1, 1);
  13.         SendClientMessage(playerid, -1, "{008080}(Job){FFFFFF} Du-te in checkpoint pentru a incarca coletele.");
  14.         SetPlayerRaceCheckpointEx(playerid,1,2209.4661,-2218.4280,13.5469,0.0,0.0,0.0,4.0);
  15.         CP[playerid] = CP_CURIER;
  16.         MoneyEarned[playerid] = 0;
  17.         CurseFacute[playerid] = 0;
  18.     }
  19.     Return true;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement