Sendy Posted June 2, 2014 Posted June 2, 2014 Would not know to do this it made 200+ blood for every killed player / zombie? and that it gave gamers who are in acl.xml "VIP" please addEvent( "onZombieWasted" ); addEventHandler( "onZombieWasted", getRootElement(), addEventHandler( "onPlayerWasted", getRootElement(), function( killer ) setElementBlood( killer, 100 ); end )
Et-win Posted June 2, 2014 Posted June 2, 2014 A better explanation would be perfect so we can understand it too. ~Scripts~ Clan War System V1.2.0 ~Maps~ [DM]Et-win - The Run [FUN]Et-win - Drift Rocket [FUN]Et-win - Drift Rocket // [DD]Et-win - Cross 3xC
Castillo Posted June 2, 2014 Posted June 2, 2014 That code doesn't make much sense. You have 1 extra addEventHandler, and the function setElementBlood doesn't exist, maybe you meant setElementHealth. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Wisam Posted June 2, 2014 Posted June 2, 2014 That code doesn't make much sense.You have 1 extra addEventHandler, and the function setElementBlood doesn't exist, maybe you meant setElementHealth. No not setElementHealth, cause i think he need this for DayZ gamemode ☣ Plauge Arma II DayZ Mod Server ☣ Here's the link to stay tuned with the server progress and features: https://forum.mtasa.com/viewtopic.php?f=114&t=96675 Get Ready to play DayZ like you never did before
-.Paradox.- Posted June 3, 2014 Posted June 3, 2014 Use: addEvent("onZombieWasted", true) addEventHandler("onZombieWasted", getRootElement(), function(killer) setElementData(killer, "blood", 100) end) If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Sendy Posted June 3, 2014 Author Posted June 3, 2014 Use: addEvent("onZombieWasted", true) addEventHandler("onZombieWasted", getRootElement(), function(killer) setElementData(killer, "blood", 100) end) But if one could only please as I wrote it and I thank this does not work this what you wrote it works it'll add 200 + blood? or take off?
-.Paradox.- Posted June 3, 2014 Posted June 3, 2014 (edited) I can not understand you. Please be clear in what you are saying. Edited June 4, 2014 by Guest If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Sendy Posted June 4, 2014 Author Posted June 4, 2014 I can not understand you.Please be clear in what ypu are saying. That it gave every player that is in acl.xml "VIP" 200+ Blood supposedly added him .. when killing players / zombies already understand me?
#Al-Ha[J]aRii Posted June 4, 2014 Posted June 4, 2014 I can not understand you.Please be clear in what ypu are saying. That it gave every player that is in acl.xml "VIP" 200+ Blood supposedly added him .. when killing players / zombies already understand me? you want if player in acl group "VIP" and kill zombie will got 200+ Blood ? Try a little harder to be a little better I Can Made To You Any Script For $ Skype : alhajarii-mtasa
Sendy Posted June 4, 2014 Author Posted June 4, 2014 I can not understand you.Please be clear in what ypu are saying. That it gave every player that is in acl.xml "VIP" 200+ Blood supposedly added him .. when killing players / zombies already understand me? you want if player in acl group "VIP" and kill zombie will got 200+ Blood ? Yes but zombies
Max+ Posted June 6, 2014 Posted June 6, 2014 is this what you want ? addEventHandler('onZombieWasted', resourceRoot, function (attacker) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(attacker)),aclGetGroup("VIP")) then if ( attacker ) and ( getElementType ( source ) == 'ped' ) then setElementData(attacker, "blood", 100) end end end ) - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Sendy Posted June 6, 2014 Author Posted June 6, 2014 is this what you want ? addEventHandler('onZombieWasted', resourceRoot, function (attacker) if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(attacker)),aclGetGroup("VIP")) then if ( attacker ) and ( getElementType ( source ) == 'ped' ) then setElementData(attacker, "blood", 100) end end end ) does not work: (
pa3ck Posted June 6, 2014 Posted June 6, 2014 setElementData(attacker, "blood", getElementData ( attacker, "blood" ) + 200 )
Sendy Posted June 6, 2014 Author Posted June 6, 2014 setElementData(attacker, "blood", getElementData ( attacker, "blood" ) + 200 ) does not work (and it is added to the F5 Debug Monitor?
Max+ Posted June 6, 2014 Posted June 6, 2014 Try This , 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, "blood", getElementData( attacker, "blood" ) + 200 ) end end end ) + Make sure your in VIP Group , Not V.I.P , and add the resource in acl admin group reesource.name , - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Sendy Posted June 6, 2014 Author Posted June 6, 2014 Try This , 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, "blood", getElementData( attacker, "blood" ) + 200 ) end end end ) + Make sure your in VIP Group , Not V.I.P , and add the resource in acl admin group reesource.name , That's all I know .. i already got all the time but it does not work .. God and it does not work somehow differently to DayZ zombie?
Max+ Posted June 6, 2014 Posted June 6, 2014 Well , it's works with https://wiki.multitheftauto.com/wiki/Slothman/Zombies i don't know if DayZ Zombie has , a diffrent functions or not , because i never tested it , i also looked into wiki not resource named DayZ only Slothman, - New , Kill System - New, GameMode Intro - Leve / Exp System - New nametag showing style - New , Hud For Players - Skin Selection from SA-MP - Money System / Buy Weapons - Drop Weapons - New, Flood System - New , Group Assign - Gun license For Weapons - Random Rule System For Money
Sendy Posted June 7, 2014 Author Posted June 7, 2014 Please help someone? it does not work all the time
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