Jump to content

[Not Work]


Sendy

Recommended Posts

Why this not work?

addEvent('onZombieWasted', true) 
addEventHandler('onZombieWasted', root, 
function (attacker) 
if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(attacker)),aclGetGroup("vip")) then 
if (getElementType ( attacker ) == "player") and (getElementType ( source ) == "ped") then 
       setElementData(attacker, "health",  getElementData( attacker, "health" ) + 20 ) 
       end 
    end 
 end 
 ) 

Errors: 0.

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