Jump to content

What do I need for?


Recommended Posts

Posted

What do I need for make when you hit someone with chainsaw and you're in team "lol", the person hitten gets health and the person who hit gets money? And for if the hitten guy had all HP then he doesn't get health and the other doesn't get $Money?

Posted
You need:
onClientPlayerDamage 
getPlayerTeam 
setElementHealth 
givePlayerMoney 

He'll have to trigger to the server side to give the money.

triggerServerEvent 

Posted
You need:
onClientPlayerDamage 
getPlayerTeam 
setElementHealth 
givePlayerMoney 

He'll have to trigger to the server side to give the money.

triggerServerEvent 

i think he can not use it's from change the event damage from client to server .

Posted
I really didn't understand what you said, explain yourself.

I said he can change "onClientPlayerDamage" to "onPlayerDamage" with out using trigger

So, it's become like this>

"onPlayerDamage" -- event 
getPlayerTeam 
setElementHealth 
givePlayerMoney 

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...