Advertisement
LukasCCB

ramdom reward xp

Mar 4th, 2016
149
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void CGameRewards::InitDefaultRewards()
  2. {
  3.     int playermoney = int(u_GetRandom(2000, 4000));
  4.     // HERE is COPY-PASTED CODE FROM ExportDefaultRewards()
  5.     // USED FOR SERVER
  6.  
  7.     SetReward(1, "ZombieKill", 200, 200, 20, 100);
  8.     SetReward(2, "SZombieKill", 2000, 2000, 1000, 1000);
  9.     SetReward(3, "PlayerKill", playermoney, 1000, playermoney, 1000);
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement