Jump to content

x[ طلب ]x اكواد


Recommended Posts

اخي

كده مظبوط

 addCommandHandler ( "kkk",
if not isGuestAccount(getPlayerAccount(source)) then
return outputChatBox ("xxxxxxxxxxxxxxxxxxxxx", root, 223, 202, 8, true )
            if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then
 outputChatBox ("*********************", root, 223, 202, 8, true )
  else
 outputChatBox ("xxxxxxxxxxxxxxxxxxxxx", root, 223, 202, 8, true )

ولو غلط علو وصلحو 

من فضلك

Link to comment
function()
addCommandHandler ( "kkk",
if not isGuestAccount(getPlayerAccount(source)) then
return outputChatBox ("xxxxxxxxxxxxxxxxxxxxx", root, 223, 202, 8, true )
            if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(source)), aclGetGroup("Console")) then
 outputChatBox ("*********************", root, 223, 202, 8, true )
  else
 outputChatBox ("xxxxxxxxxxxxxxxxxxxxx", root, 223, 202, 8, true )
end
end
)
end

كده صح ؟

Edited by MA[S]RIY
Link to comment
addCommandHandler("kkk",
function(playersource)
if not isGuestAccount(getPlayerAccount(playersource)) then
if isObjectInACLGroup("user."..getAccountName(getPlayerAccount(playersource)), aclGetGroup("Console")) then
outputChatBox("*********************",playersource, 223, 202, 8, true )
else
outputChatBox("xxxxxxxxxxxxxxxxxxxxx",playersource, 223, 202, 8, true )
end
else
outputChatBox("xxxxxxxxxxxxxxxxxxxxx",playersource, 223, 202, 8, true )
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...