Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- new pdistance = floatround(SweeperDistance[playerid] / 500) * 500;
- if(pdistance > 0 && ( pdistance % 500 ) == 0)
- {
- format(string, sizeof string, "Distance Cleaned: %i~n~Payout: $%s~n~+50 XP", SweeperDistance[playerid], cNumber(money));
- WinnerText(playerid, string);
- Info[playerid][SweeperSkills] += ( pdistance / 500 );
- Info[playerid][XP] += 50;
- LevelUp(playerid);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement