Jump to content

God mode


Recommended Posts

addEventHandler('onClientPlayerDamage', root, 
function() 
    if(getPlayerTeam(getTeamName( localPlayer ) == ('Staff'))) then 
    cancelEvent( ) 
  end 
end 
) 

It's Better to Have an Orgnized Code :D

I think it's even better not to say anything at all if you don't know, that condition does not make sense.

Edited by Guest
Link to comment
addEventHandler('onClientPlayerDamage', root, 
function() 
    if(getPlayerTeam(getTeamName( localPlayer ) == ('Staff'))) then 
    cancelEvent( ) 
  end 
end 
) 

It's Better to Have an Orgnized Code :D

I think it's even better to not say anything at all if you don't know, that condition does not make sense.

+1 Anderl

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