DRW Posted April 22, 2015 Share Posted April 22, 2015 Hello, how can I make peds with a specific skin be able to burn the player that the ped punches? I don't want players to be able to burn a person with the skin, only peds. Thanks. Link to comment
Mega9 Posted April 22, 2015 Share Posted April 22, 2015 getElementType getElementModel setPedOnFire "onPlayerDamage" This should do. Link to comment
WhoAmI Posted April 22, 2015 Share Posted April 22, 2015 I would replace onPlayerDamage with onPlayerContact, because he wants to set player on fire when he hits the ped with specific scin if I'm right. Link to comment
Mega9 Posted April 22, 2015 Share Posted April 22, 2015 I would replace onPlayerDamage with onPlayerContact, because he wants to set player on fire when he hits the ped with specific scin if I'm right. This event is triggered when a player stands on a different element than before. 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