Advertisement
Guest User

Untitled

a guest
May 25th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.96 KB | None | 0 0
  1.     // info
  2.     JobDeelay[playerid][PlayerInfo[playerid][pJob]] = 180;
  3.    
  4.     MoneyEarned[playerid] += money+bonus;
  5.     CurseFacute[playerid] ++;
  6.     format(string, sizeof(string), "%s a primit $%s pentru munca efectuata la job-ul %s.", GetName(playerid), FormatNumber(money+bonus), JobInfo[PlayerInfo[playerid][pJob]][jName]);
  7.     InsertLog(playerid, string, LOG_MONEY);
  8.  
  9.         PlayerTextDrawShow(playerid, JobTD[1]);
  10.         format(string, sizeof(string), "Castig: $%s", FormatNumber(money));
  11.         PlayerTextDrawSetString(playerid, JobTD[playerid][0], string);
  12.         format(string, sizeof(string), "Castig total: $%s", FormatNumber(money+bonus));
  13.         PlayerTextDrawSetString(playerid, JobTD[playerid][0], string);
  14.         format(string, sizeof(string), "Timp job: %s", CalculeazaTimp2(WorkingTime[playerid]));
  15.         PlayerTextDrawSetString(playerid, JobTD[playerid][0], string);
  16.         SetTimerEx("jobinfosalariu", 5000, 0, "%d", playerid)
  17.    
  18.     GivePlayerCash(playerid, money+bonus);
  19.     Update(playerid, pCashx);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement