Jump to content

مساعده اخره


Recommended Posts

السلام عليكم ازاي اخليها لا اس ال معين امسو SDL

function unmuteOurPlayer(player, command, unmutedguy)
	if unmutedguy then
		local unmuted = getPlayerFromName(unmutedguy)
			if unmuted then
				if isPlayerMuted(unmuted) then
					setPlayerMuted(unmuted, false)
					setElementData(unmuted, "Muted", 0)
					setElementData(unmuted, "MutedTime", 0)
					removeElementData(unmuted, "Reason")
					outputChatBox("#ADFF2F"..getPlayerName(unmuted).."#FFFFFF Adli Oyuncunun Mutesi Acildi!#ADFF2F "..getPlayerName(player).."#FFFFFF. ", getRootElement(),255, 255, 255, true)
				end
			end
	else
		outputChatBox("UNAMUTE SYNTAX: /unamute <victim>", player)
	end
end
addCommandHandler("unamute", unmuteOurPlayer)

 

Link to comment
1 hour ago, محمود said:

السلام عليكم ازاي اخليها لا اس ال معين امسو SDL


function unmuteOurPlayer(player, command, unmutedguy)
	if unmutedguy then
		local unmuted = getPlayerFromName(unmutedguy)
			if unmuted then
				if isPlayerMuted(unmuted) then
					setPlayerMuted(unmuted, false)
					setElementData(unmuted, "Muted", 0)
					setElementData(unmuted, "MutedTime", 0)
					removeElementData(unmuted, "Reason")
					outputChatBox("#ADFF2F"..getPlayerName(unmuted).."#FFFFFF Adli Oyuncunun Mutesi Acildi!#ADFF2F "..getPlayerName(player).."#FFFFFF. ", getRootElement(),255, 255, 255, true)
				end
			end
	else
		outputChatBox("UNAMUTE SYNTAX: /unamute <victim>", player)
	end
end
addCommandHandler("unamute", unmuteOurPlayer)

 

وضح

Link to comment
1 minute ago, محمود said:

يعني الادمن بس الي يستخدم الكومند 

function unmuteOurPlayer(player, command, unmutedguy)
local acc = getAccountName ( getPlayerAccount ( player ) )
if isObjectInACLGroup ("user."..acc, aclGetGroup ( "Admin" ) ) then
	if unmutedguy then
		local unmuted = getPlayerFromName(unmutedguy)
			if unmuted then
				if isPlayerMuted(unmuted) then
					setPlayerMuted(unmuted, false)
					setElementData(unmuted, "Muted", 0)
					setElementData(unmuted, "MutedTime", 0)
					removeElementData(unmuted, "Reason")
					outputChatBox("#ADFF2F"..getPlayerName(unmuted).."#FFFFFF Adli Oyuncunun Mutesi Acildi!#ADFF2F "..getPlayerName(player).."#FFFFFF. ", getRootElement(),255, 255, 255, true)
				end
			end
	else
		outputChatBox("UNAMUTE SYNTAX: /unamute <victim>", player)
	end
	end
end
addCommandHandler("unamute", unmuteOurPlayer)

 

  • Thanks 1
Link to comment
5 minutes ago, DmAr511 said:

function unmuteOurPlayer(player, command, unmutedguy)
local acc = getAccountName ( getPlayerAccount ( player ) )
if isObjectInACLGroup ("user."..acc, aclGetGroup ( "Admin" ) ) then
	if unmutedguy then
		local unmuted = getPlayerFromName(unmutedguy)
			if unmuted then
				if isPlayerMuted(unmuted) then
					setPlayerMuted(unmuted, false)
					setElementData(unmuted, "Muted", 0)
					setElementData(unmuted, "MutedTime", 0)
					removeElementData(unmuted, "Reason")
					outputChatBox("#ADFF2F"..getPlayerName(unmuted).."#FFFFFF Adli Oyuncunun Mutesi Acildi!#ADFF2F "..getPlayerName(player).."#FFFFFF. ", getRootElement(),255, 255, 255, true)
				end
			end
	else
		outputChatBox("UNAMUTE SYNTAX: /unamute <victim>", player)
	end
	end
end
addCommandHandler("unamute", unmuteOurPlayer)

 

شكرا ي صحبي

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...