Kors Posted February 20, 2018 Share Posted February 20, 2018 addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ); end ) How to make it randomly reward , not only 100, random 50, 100 , 78 .... Link to comment
Ahmed Ly Posted February 20, 2018 Share Posted February 20, 2018 addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), function( killer ) money = math.random(100) givePlayerMoney( killer, money ); end ) 1 Link to comment
Kors Posted February 20, 2018 Author Share Posted February 20, 2018 (edited) tnx man! working Edited February 20, 2018 by Kors 1 Link to comment
Ahmed Ly Posted February 20, 2018 Share Posted February 20, 2018 (edited) 8 minutes ago, Kors said: Tnx man! working You welcome Edited February 20, 2018 by Ahmed Ly Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now