Advertisement
Guest User

Untitled

a guest
Oct 21st, 2018
64
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. {
  3.        if(PlayerInfo[playerid][pJob] != 3) retun SCM(playerid, -1, "nu ai jobu");
  4.        if(!IsPlayerInRangeOfPoint(playerid,10,  2173.1504,-2267.9075,13.3782))
  5.        {
  6.             SCM(playerid, COLOR_GREY,"Nu esti la locul de unde se incep misiunile. Urmeaza punctul rosu de pe harta.");
  7.             SetPlayerCheckpointEx(playerid,2173.1504,-2267.9075,13.3782, 6.0);
  8.             CP[playerid] = 43;
  9.             return true;
  10.         }
  11.         new Float:x,Float:y,Float:z;
  12.         GetPlayerPos(playerid, x, y, z);
  13.         JobVehicle[playerid] = AddStaticVehicle(448, x,y+1,z, 0.0,  1, 1);
  14.         SendClientMessage(playerid, -1, "{008080}(Job){FFFFFF} Du-te in checkpoint pentru a incarca coletele.");
  15.         SetPlayerRaceCheckpointEx(playerid,1,2209.4661,-2218.4280,13.5469,0.0,0.0,0.0,4.0);
  16.         CP[playerid] = CP_CURIER;
  17.         MoneyEarned[playerid] = 0;
  18.         CurseFacute[playerid] = 0;
  19.         return true;
  20. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement