Jump to content

حدث


Recommended Posts

Posted
function Adham() 
    if guiGetText(GUIEditor.edit[1]) ~= '' and guiGetText(GUIEditor.edit[1]) ~= ' ' then 
        guiSetText (GUIEditor.edit[1], '' ) 
        guiSetEnabled(GUIEditor.button[1], false) 
        setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) 
        triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) 
    end 
end 
addEventHandler( 'onClientGUIClick',GUIEditor.button[1],Adham,false) 
addEventHandler( 'onClientGUIAccepted',GUIEditor.edit[1],Adham,false) 
  
addEvent("sendmessage2",true) 
addEventHandler("sendmessage2", root, function(Name,Text) 
    local hour = getRealTime().hour 
    local minute = getRealTime().minute 
    local second = getRealTime().second+1 
    local gg = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,   "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "")  ..": " .. Text , false, false) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) 
        if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then 
        outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) 
    end 
end) 

Posted

^ سفاح شوف السطر الثالث انت مسحت الي دآخل المربع طيب ..

وسطر 6 انت ارسلت الي دآخل المربع .. راح يكون الي دىخل المربع فراغ ويرسل بالترايقر فراغ فـ ضع كود مسح الكلام الي دآخل المربع تحت الترايقر ..

بالتوفيق لك

Posted
^ سفاح شوف السطر الثالث انت مسحت الي دآخل المربع طيب ..

وسطر 6 انت ارسلت الي دآخل المربع .. راح يكون الي دىخل المربع فراغ ويرسل بالترايقر فراغ فـ ضع كود مسح الكلام الي دآخل المربع تحت الترايقر ..

بالتوفيق لك

مششكور على التنبيه مانتبهت له

function Adham() 
    if guiGetText(GUIEditor.edit[1]) ~= '' and guiGetText(GUIEditor.edit[1]) ~= ' ' then 
        guiSetEnabled(GUIEditor.button[1], false) 
        setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) 
        triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) 
        guiSetText (GUIEditor.edit[1], '' ) 
    end 
end 
addEventHandler( 'onClientGUIClick',GUIEditor.button[1],Adham,false) 
addEventHandler( 'onClientGUIAccepted',GUIEditor.edit[1],Adham,false) 
  
addEvent("sendmessage2",true) 
addEventHandler("sendmessage2", root, function(Name,Text) 
    local hour = getRealTime().hour 
    local minute = getRealTime().minute 
    local second = getRealTime().second+1 
    local gg = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,   "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "")  ..": " .. Text , false, false) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) 
        if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then 
        outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) 
    end 
end) 

Posted
^ سفاح شوف السطر الثالث انت مسحت الي دآخل المربع طيب ..

وسطر 6 انت ارسلت الي دآخل المربع .. راح يكون الي دىخل المربع فراغ ويرسل بالترايقر فراغ فـ ضع كود مسح الكلام الي دآخل المربع تحت الترايقر ..

بالتوفيق لك

مششكور على التنبيه مانتبهت له

function Adham() 
    if guiGetText(GUIEditor.edit[1]) ~= '' and guiGetText(GUIEditor.edit[1]) ~= ' ' then 
        guiSetEnabled(GUIEditor.button[1], false) 
        setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) 
        triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) 
        guiSetText (GUIEditor.edit[1], '' ) 
    end 
end 
addEventHandler( 'onClientGUIClick',GUIEditor.button[1],Adham,false) 
addEventHandler( 'onClientGUIAccepted',GUIEditor.edit[1],Adham,false) 
  
addEvent("sendmessage2",true) 
addEventHandler("sendmessage2", root, function(Name,Text) 
    local hour = getRealTime().hour 
    local minute = getRealTime().minute 
    local second = getRealTime().second+1 
    local gg = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,   "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "")  ..": " .. Text , false, false) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) 
        if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then 
        outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) 
    end 
end) 

سفاح طيب ممكن تفهمني شي معلش

ازاي

if guiGetText(GUIEditor.edit[1]) ~= '' and guiGetText(GUIEditor.edit[1]) ~= ' ' then 

?

كيف and

؟؟

المفروض تبقا

if guiGetText(GUIEditor.edit[1]) ~= '' or guiGetText(GUIEditor.edit[1]) ~= ' ' then 

ولا انا غلطان ؟

Posted

الكود يتحقق

ان مايكون الاديت فاضي و يتحقق لو فيه مسافه ماشوف غلط في التحقق

ممكن تقولي ليه

or

Posted

function Adham() 
    if guiGetText(GUIEditor.edit[1]) ~= '' and guiGetText(GUIEditor.edit[1]) ~= ' ' then 
        guiSetText (GUIEditor.edit[1], '' ) 
        guiSetEnabled(GUIEditor.button[1], false) 
        setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) 
        triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) 
    end 
end 
addEventHandler( 'onClientGUIClick',GUIEditor.button[1],Adham,false) 
addEventHandler( 'onClientGUIAccepted',GUIEditor.edit[1],Adham,false) 
  
addEvent("sendmessage2",true) 
addEventHandler("sendmessage2", root, function(Name,Text) 
    local hour = getRealTime().hour 
    local minute = getRealTime().minute 
    local second = getRealTime().second+1 
    local gg = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,   "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "")  ..": " .. Text , false, false) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) 
        if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then 
        outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) 
    end 
end) 

دا كودك يا سفاح بدي اسالك سؤال

triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) 

function(Name,Text) 

outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) 

guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,   "["..tostring(hour)..":"..tostring(minute)..":" ..tostring(second).."]x "..Name:gsub("#%x%x%x%x%x%x", "")  ..": " .. Text , false, false) 
  

اظن ان الغلط من كود صاحب الموضوع :lol::lol::lol:

مسوي خرابيط

Posted

  
guiGetText 
guiGridListAddRow 
 guiGridListSetItemText 
 guiGridListSetItemColor 
 guiCheckBoxGetSelected 
  

الفنكشات دي كلينت وش جابهم بجانب السيرفر هههههههههههههههههه

Posted

الترايقر الثاني ذا كلينت موب سيرفر اذا كان صاحب الموضوع قاعد يحط الترايقر الثاني بالسيرفر ذا شيء ثاني = (

الصراحة ماشوف أي خطأ بالأكواد أو يمكن أني مافهمت قصدك

Posted

عشان يتحقق انو فاضي

او حاطت مسافة

اما اند

فهيتحقق انو

فاضي و حاطت مسافة

كيف هتيجي دي ؟

كيف تيجي فاضي

و حاطت مسافة في نفس الوقت ؟

Posted

triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) 

اشوفه سيرفر ههههههههههههههههههههه

triggerServerEvent

Posted
triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) 

اشوفه سيرفر ههههههههههههههههههههه

triggerServerEvent

Client-only function

معناه أنه يرسل ترايقر من الكلنت الى السيرفر

عشان يتحقق انو فاضي

او حاطت مسافة

اما اند

فهيتحقق انو

فاضي و حاطت مسافة

كيف هتيجي دي ؟

كيف تيجي فاضي

و حاطت مسافة في نفس الوقت ؟

يتحقق أنه الاديت لا يساوي فراغ ولا يساوي مسافـة

Posted

بصراحه انا مخي تدههور والغلط من صاحب الموضوع مب حاط الاكواد

كامله

انا بقول يشباب فكونا من الموضوع دا

:lol:

  • 2 weeks later...
Posted (edited)

السلام عليكم اخوي انا بعرض عليك الحين الكود بعد التصحيح وانا متاكد انشاء الله الكود ما فيه خطا لكن

اذا حدث وحصل خطا فتاكد اخوي انك مسوي غلط في باقي الاكواد وليس هاذا الكود

  
  
  
  
function Adham() 
local Master_MTA = guiGetText(GUIEditor.edit[1]) 
  
    if ( Master_MTA ~= "" ) then 
        guiSetText (GUIEditor.edit[1], '' ) 
  
        triggerServerEvent("support",localPlayer,Master_MTA) 
    end 
end 
addEventHandler( 'onClientGUIClick',GUIEditor.button[1],Adham,false) 
addEventHandler( 'onClientGUIAccepted',GUIEditor.edit[1],Adham,false) 
  
addEvent("sendmessage2",true) 
addEventHandler("sendmessage2", root, function(Name,Text) 
    local hour = getRealTime().hour 
    local minute = getRealTime().minute 
    local second = getRealTime().second+1 
    local gg = guiGridListAddRow(GUIEditor.gridlist[1]) 
    guiGridListSetItemText(GUIEditor.gridlist[1],gg, 1,Name:gsub("#%x%x%x%x%x%x", "")  ..": " .. Text , false, false) 
    guiGridListSetItemColor(GUIEditor.gridlist[1],gg, 1, 0, 255, 0, 255) 
        if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then 
        outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : "..guiGetText(GUIEditor.edit[1]).." ",255,255,0,true) 
    end 
end) 

وفي الختام اتمنى تدعيلي لو تبغى فقط واي احد استفاد يدعيلي يا ريت

Edited by Guest
Posted

SaedAmer مازن لعبا هو نفسه السيد عام

SaedAmer شوف ذا الفيديو __ هذا السكربت كان يعمل عليه

او انه لعبا ســــــــارق

Posted
SaedAmer مازن لعبا هو نفسه السيد عام

SaedAmer شوف ذا الفيديو __ هذا السكربت كان يعمل عليه

او انه لعبا ســــــــارق

خخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخخ

من السارق !!!!!!!

انت عبيط ولا

وش

انا لعبه فقط

ما معي اميلات غير

كان معي اميل اسمه

#Untied و

Sylnce

قفلتهم

وش التقول عليهم ؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟؟

Posted
SaedAmer مازن لعبا هو نفسه السيد عام

SaedAmer شوف ذا الفيديو __ هذا السكربت كان يعمل عليه

او انه لعبا ســــــــارق

اخوي انا اعرف لعبه واعرف سعيد وهم شخصين مختلفين هو ما سرقه ولا شي + للمعلومه فقط اللي صنع لوحة السبورت هو انا وسعيد وبتشوف بالزاويه انو انا اسمي مكتوب

Master

وتقدر تسال سعيد عامر ولعبه

بس اللي حبيت اعرفك في هذا الكلام انه مو حرامي فقط رغم الخلافات اللي بيني وبين لعبه فهو يظل صديقي

:D:D

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