-#GMG Posted December 10, 2017 Share Posted December 10, 2017 السلام عليكم الحين انا مسوي الوحه تفتح باسم حساب يعني يتاكد من اسم حسابه ويفتحها الكود ماظبط تصحيح ... بالله 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
iMr.WiFi..! Posted December 10, 2017 Share Posted December 10, 2017 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) Link to comment
-#GMG Posted December 10, 2017 Author Share Posted December 10, 2017 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
Adham Posted December 10, 2017 Share Posted December 10, 2017 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
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