Advertisement
Guest User

Untitled

a guest
Apr 17th, 2023
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. if(PlayerInfo[i][pJobGoal] >= GOAL_PLAYER) {
  2. GivePlayerCash(i, rand_money)
  3. PlayerInfo[i][pExp] += rand_rp;
  4. PlayerInfo[i][pPremiumPoints] += rand_pp;
  5. Update(i, pCashx);
  6. Update(i, pRP);
  7. Update(i, pPremiumPoints);
  8. PlayerInfo[i][pJobGoal] = 0;
  9. UpdateVar(i, "JobGoal", 0);
  10. format(gString, sizeof(gString), "Felicitari, %s! Ai primit $%s si %d RP-uri deoarece ai contibuit la job goal!", GetName(i), FormatNumber(rand_money), rand_rp, rand_pp);
  11. SCM(i, COLOR_YELLOW, gString);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement