bachir Posted June 4, 2012 Share 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!!! Link to comment
50p Posted June 4, 2012 Share 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 ) 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