bachir Posted June 4, 2012 Posted June 4, 2012 hi im looking for this resource : i want when a player kill the other , the killer gets 500$ someone help me plz!!!
50p Posted June 4, 2012 Posted June 4, 2012 addEventHandler( "onPlayerWasted", root, function( _, killer ) if killer then if getElementType( killer ) == "vehicle" then killer = getVehicleOccupant( killer ); end givePlayerMoney( killer, 500 ); end end ) - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
Castillo Posted June 4, 2012 Posted June 4, 2012 Topic moved to: "Scripting". San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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