معرفت اسويهم ممكن تسويهم لي ~
addEventHandler ( 'onPlayerChangeNick' )
fuction kicked ()
if isPlayerMuted ( onPlayerChangeNick ) then
outputChatBox ( "You Can changed Nick name But You Mute" )
end
function kickPlayerHandler ( sourcePlayer, commandname, kickedname, reason ) -- Get player element from the name
local kicked = getPlayerFromName ( kickedname ) -- If the client who sent the command has a higher level
if ( hasObjectPermissionTo ( sourcePlayer, "function.kickPlayer" ) )
then -- Kick the player kickPlayer ( kicked, sourcePlayer, reason )
end
end
-- Add the "kick" command handler
addCommandHandler ( "kick", kickPlayerHandler )