Jump to content

Help with a resource.


Cajolingsquare

Recommended Posts

Copy this script (server)

function died(_, killer)
    if (killer and getElementType(killer) == "player" and getElementType(source) == "ped") then 
		givePlayerMoney(killer, 500)
	end
end
addEventHandler("onPedWasted", root, died) --Add the Event when ped1 dies

 

 

  • Like 1
Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...