Jump to content

[HELP] Please


Sendy

Recommended Posts

Posted

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 
) 

Posted

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.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted
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

Posted

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.

Posted
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?

Posted (edited)

I can not understand you.

Please be clear in what you are saying.

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

Posted
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? :)

Posted
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

Posted
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

Posted

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

Posted
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: (

Posted
setElementData(attacker, "blood",  getElementData ( attacker, "blood" ) + 200 )  

does not work (and it is added to the F5 Debug Monitor?

Posted

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

Posted
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?

Posted

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

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