abdalbaset Posted January 31, 2014 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
Einheit-101 Posted January 31, 2014 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.
abdalbaset Posted January 31, 2014 Author Posted January 31, 2014 but what i have to use to make whene player kill other one get money?
abdalbaset Posted January 31, 2014 Author 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 )
Chaos Posted January 31, 2014 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
abdalbaset Posted February 1, 2014 Author 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
TAPL Posted February 1, 2014 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).
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