Advertisement
jlalt

c++18 coding syntax preview

Aug 9th, 2017
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.40 KB | None | 0 0
  1.         new pdistance = floatround(SweeperDistance[playerid] / 500) * 500;
  2.         if(pdistance > 0 && ( pdistance % 500 ) == 0)
  3.         {
  4.             format(string, sizeof string, "Distance Cleaned: %i~n~Payout: $%s~n~+50 XP", SweeperDistance[playerid], cNumber(money));
  5.             WinnerText(playerid, string);
  6.  
  7.             Info[playerid][SweeperSkills] += ( pdistance / 500 );
  8.             Info[playerid][XP] += 50;
  9.             LevelUp(playerid);
  10.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement