Jump to content

تصحيح


-#GMG

Recommended Posts

السلام عليكم
الحين انا مسوي  الوحه تفتح باسم حساب يعني يتاكد من اسم حسابه ويفتحها الكود ماظبط تصحيح ... بالله
 

function open ( player, command )
			if getElementData(localPlayer,"Account") == "gmc" then
			triggerClientEvent ( player, "openwindo", player )
		else
			outputChatBox ( "* LOGIN [ with Concole or Admin ] First", player )
		end
	end
end

addCommandHandler ( "7775777", open )

--- محاولتي بلسيريال
addCommandHandler("7775777",
function(player)
	local serial = getPlayerSerial(player)
	if getPlayerSerial(player) == "" or getPlayerSerial(player) == "" then
			triggerClientEvent(player, "Open2", player)
		end
	end
end)

 

Link to comment
2 hours ago, iMr.WiFi..! said:

addCommandHandler("7775777",
function(player)
    local acc = getPlayerAccount ( player )
	if isGuestAccount ( acc ) then
		return
	end
	local name = getAccountName(acc)
	if name == "هنا حط إسم الحساب" then
		triggerClientEvent(player, "Open2", player)
	end
end)

 

لو ابي اخليها 2 حساب اسوي كذا

addCommandHandler("7775777",
function(player)
    local acc = getPlayerAccount ( player )
	if isGuestAccount ( acc ) then
		return
	end
	local name = getAccountName(acc)
	if name == "هنا حط إسم الحساب" or name == "هنا حط إسم الحساب" then
		triggerClientEvent(player, "Open2", player)
	end
end)

 

Link to comment
6 minutes ago, -#GMG said:

لو ابي اخليها 2 حساب اسوي كذا


addCommandHandler("7775777",
function(player)
    local acc = getPlayerAccount ( player )
	if isGuestAccount ( acc ) then
		return
	end
	local name = getAccountName(acc)
	if name == "هنا حط إسم الحساب" or name == "هنا حط إسم الحساب" then
		triggerClientEvent(player, "Open2", player)
	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...