☠ RaZeR ☠ Posted August 11, 2015 Share Posted August 11, 2015 هلا ,, شباب ابي يقتل 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
☠ RaZeR ☠ Posted August 11, 2015 Author Share Posted August 11, 2015 (يعني اذا قتل ( 10 بالسنايبر يسوي مخرج شات Link to comment
☠ RaZeR ☠ Posted August 11, 2015 Author Share Posted August 11, 2015 ارجوا الشرح بتفصيل مافهمت ايش المطلوب !! اسويه Link to comment
xBeSoOo Posted August 11, 2015 Share Posted August 11, 2015 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
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