Jump to content

تمت الافادة مشكلة في الكود#


Recommended Posts

السلام عليكم

شباب لماذا لم يعمل هذا ؟؟

انا جربته ومااشتغل

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

ا

Edited by Guest
Link to comment
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 |", 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...