Jump to content

طلب !


Recommended Posts

هلا ,, شباب

ابي يقتل 10 بسلاح معين مثل القناصه بعدين يسوي مخرج شات

id Sniper : 34

addEventHandler ("onPlayerWasted", root, function (_, klr) 
    if klr and getElementType (klr) == "player" then 
        setElementData (klr, "kills", (getElementData (klr, "kills") or 0) + 1) 
     if  getElementData ( klr, "kills" ) == 10  then 
     outputChatBox ( "you killled 10 |By Sniper ", klr, 255, 0, 0, true ) 
     end 
    end 
end 
) 

Link to comment
addEventHandler ("onPlayerWasted", root, function (_, klr,killerWeapon) 
    if klr and getElementType (klr) == "player" then 
    if killerWeapon == 34 then 
        setElementData (klr, "Sniper", (getElementData (klr, "Sniper") or 0) + 1) 
     end 
     if  getElementData ( klr, "Sniper" ) == 10  then 
     outputChatBox ( "you killled 10 |By Sniper ", klr, 255, 0, 0, true ) 
     end 
    end 
end 
) 

ما جربت جرب انت :)

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