Jump to content

مساعدهه


Recommended Posts

السلام عليكم ورحمة الله .

انا عدلت ع لوحة الادمن في لوحة الميوت السبب بدال م هو ايديت بوكس خليته كومو بوكس

  كل شي شغال لاكن لما اختار السبب من الكومبو بوكس م يطلع بالمسج حق الميوت , مع ان السبب يطلع ب اللوق حق الميوت  .

يعني ابي حل ع ساس يطلع السبب ب المسج حق الميوت

--Client
aMuteInputValue			= guiCreateComboBox ( 35, y, 230, 250, "", false, aMuteInputForm )
		guiComboBoxAddItem(aMuteInputValue, "تست 1") 
		guiComboBoxAddItem(aMuteInputValue, "تست 2")


local reason = guiComboBoxGetItemText(aMuteInputValue, guiComboBoxGetSelected(aMuteInputValue))--كود جلب الي مختاره من الكومبو بوكس


triggerServerEvent ( "aPlayer", getLocalPlayer(), aMuteInputPlayer, "mute", reason, seconds )--تريقر للسيرفر

o.O

Edited by Aln3mani
Link to comment
On 5/12/2018 at 13:01, Aln3mani said:

السلام عليكم ورحمة الله .

انا عدلت ع لوحة الادمن في لوحة الميوت السبب بدال م هو ايديت بوكس خليته كومو بوكس

  كل شي شغال لاكن لما اختار السبب من الكومبو بوكس م يطلع بالمسج حق الميوت , مع ان السبب يطلع ب اللوق حق الميوت  .

يعني ابي حل ع ساس يطلع السبب ب المسج حق الميوت


--Client
aMuteInputValue			= guiCreateComboBox ( 35, y, 230, 250, "", false, aMuteInputForm )
		guiComboBoxAddItem(aMuteInputValue, "تست 1") 
		guiComboBoxAddItem(aMuteInputValue, "تست 2")


local reason = guiComboBoxGetItemText(aMuteInputValue, guiComboBoxGetSelected(aMuteInputValue))--كود جلب الي مختاره من الكومبو بوكس


triggerServerEvent ( "aPlayer", getLocalPlayer(), aMuteInputPlayer, "mute", reason, seconds )--تريقر للسيرفر

o.O

no help ? :/

Link to comment
44 minutes ago, Aln3mani said:

كود لوحة الادمن الاصليه شوف وتأكد منه .



--Client
aMuteInputValue = guiCreateComboBox ( 35, y, 230, 250, "", false, aMuteInputForm )
guiComboBoxAddItem(aMuteInputValue, "تست 1") 
guiComboBoxAddItem(aMuteInputValue, "تست 2")


local reason = guiComboBoxGetItemText(aMuteInputValue, guiComboBoxGetSelected(aMuteInputValue))


triggerServerEvent ( "aPlayer", getLocalPlayer(), "mute", reason )--تريقر للسيرفر

جرب هذا

Link to comment
  • 3 weeks later...
On 5/16/2018 at 19:38, +Source|> said:


--Client
aMuteInputValue = guiCreateComboBox ( 35, y, 230, 250, "", false, aMuteInputForm )
guiComboBoxAddItem(aMuteInputValue, "تست 1") 
guiComboBoxAddItem(aMuteInputValue, "تست 2")


local reason = guiComboBoxGetItemText(aMuteInputValue, guiComboBoxGetSelected(aMuteInputValue))


triggerServerEvent ( "aPlayer", getLocalPlayer(), "mute", reason )--تريقر للسيرفر

جرب هذا

اسف ع التاخر ب الرد ..

المهم : الكود م ضبط , بعد م بدلت الكود ب التريقر حقك م صار اصلا يصك ميوت .

Link to comment
local reason = guiComboBoxGetItemText(aMuteInputValue, guiComboBoxGetSelected(aMuteInputValue))--كود جلب الي مختاره من الكومبو بوكس
if reason ~= "" then
	triggerServerEvent ( "aPlayer", getLocalPlayer(), aMuteInputPlayer, "mute", reason, seconds )
end

بالنسبه لإظهار الميوت في الشات محتاج تعدل على ملف أسمه 

messages.xml

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