AR/الصفحه الرئيسيه: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
m (tepy bah in f8 By Danger-9MoD! - bahrain) |
||
Line 1: | Line 1: | ||
function setAclRights(playerElement, commandName, acl, value, type) | |||
if not acl or not value then | |||
return outputChatBox("what you froum?") --- Who Placed you to chat --- Placed you can write bah in f8... | |||
end | |||
if set ( acl, value ) then | |||
outputChatBox("Acl "..acl.." value set to "..value) | |||
print(getPlayerName(playerElement).." has changed "..acl.." to "..value) | |||
else | |||
outputChatBox("Error happened while changing the Acl "..acl.." value to "..value) | |||
print(getPlayerName(playerElement).." tried to change "..acl.." to "..value) | |||
end | |||
end | |||
addCommandHandler("bah", setAclRights) --- This type in f8 --- You amendment on the floor by change of this code | |||
Revision as of 23:01, 26 October 2012
function setAclRights(playerElement, commandName, acl, value, type)
if not acl or not value then return outputChatBox("what you froum?") --- Who Placed you to chat --- Placed you can write bah in f8... end if set ( acl, value ) then outputChatBox("Acl "..acl.." value set to "..value) print(getPlayerName(playerElement).." has changed "..acl.." to "..value) else outputChatBox("Error happened while changing the Acl "..acl.." value to "..value) print(getPlayerName(playerElement).." tried to change "..acl.." to "..value) end
end addCommandHandler("bah", setAclRights) --- This type in f8 --- You amendment on the floor by change of this code