abdalbaset Posted January 31, 2014 Share Posted January 31, 2014 how i can make whene player kill another player get money how to make this working one one place not all the map Link to comment
Einheit-101 Posted January 31, 2014 Share Posted January 31, 2014 There is already such a kill reward resource uploaded at the MTA community website, but i dont know the name of it. Link to comment
abdalbaset Posted January 31, 2014 Author Share Posted January 31, 2014 but what i have to use to make whene player kill other one get money? Link to comment
Karuzo Posted January 31, 2014 Share Posted January 31, 2014 The p-spawn script has what you want. Link to comment
abdalbaset Posted January 31, 2014 Author Share Posted January 31, 2014 i found this script but whene i kill someone i dont get money addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ); end ) Link to comment
Chaos Posted January 31, 2014 Share Posted January 31, 2014 (edited) i found this script but whene i kill someone i dont get money addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ); end ) addEventHandler( "onPlayerWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ) end) Edited February 1, 2014 by Guest Link to comment
abdalbaset Posted February 1, 2014 Author Share Posted February 1, 2014 i found this script but whene i kill someone i dont get money addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ); end ) addEventHandler( "onPlayerWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ) end its not working i try it in server and client side and without it and its not working Link to comment
xXMADEXx Posted February 1, 2014 Share Posted February 1, 2014 It's a server-side script Link to comment
TAPL Posted February 1, 2014 Share Posted February 1, 2014 i found this script but whene i kill someone i dont get money addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ); end ) addEventHandler( "onPlayerWasted", getRootElement(), function( killer ) givePlayerMoney( killer, 100 ) end You missed the bracket (line 6). 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