Ahmed Ly Posted April 25, 2016 Share Posted April 25, 2016 فيه خطا طيب هنا. function clear ( thePlayer ) local cuenta = getAccountName( getPlayerAccount(thePlayer) ) if isObjectInACLGroup("user."..cuenta, aclGetGroup("Console")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 1")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 2")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 3")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 4")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 5")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Level 6")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Head.Admin")) then spaces(thePlayer) elseif isObjectInACLGroup("user."..cuenta, aclGetGroup("Trainee")) then [lua]spaces(thePlayer) end end addCommandHandler("77", clear) outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" ") outputChatBox(" #0099cc"..getPlayerName(thePlayer).." - Cleard Chat, getRootElement(), 255, 255, 255, true)end [/lua] ورني كودك كمل + شو دا spaces(thePlayer) 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