A7M8D Posted October 13, 2017 Posted October 13, 2017 السلام عليكم عندي مشكلة انا عامل 4 خانات في جدول SQ; الايدي - العنوان - الرسالة في مشكلة لما اجيب رسالة عن طريق العنوان يكتب الرسالة text وليست الرسالة الاصلية addEvent( 'getAdFromID', true ) addEventHandler( 'getAdFromID', root, function( AdName ) local check = dbQuery( DB, ' SELECT * FROM `Shro7at` WHERE Subject = ? ', AdName ) local results = dbPoll( check, -1 ) if ( type ( results ) == 'table' and #results == 0 or not results ) then return end local text = results[1]['TEXT'] triggerClientEvent( source, 'ShowWithInfo', source, text ) outputChatBox(""..text.."") end ) وانا حاطط رسالة في الشات عشان احتبر يجي a boolen value ارجو التصحيح I couldn't wait for success, so I went ahead without it.
A7M8D Posted October 13, 2017 Author Posted October 13, 2017 لما يرسل الترايقر تيجي الرسالة text في الشات مش بتظهر اصلا I couldn't wait for success, so I went ahead without it.
MrBiG Posted October 13, 2017 Posted October 13, 2017 8 minutes ago, #MR.NaiF said: لما يرسل الترايقر تيجي الرسالة text في الشات مش بتظهر اصلا Give Me Event = ShowWithInfo
A7M8D Posted October 13, 2017 Author Posted October 13, 2017 function ShowWithInfo(text) guiSetText(GUIEditor.memo[1],"text") guiSetVisible(GUIEditor.window[2],true) guiSetVisible(GUIEditor.window[1],false) end addEvent("ShowWithInfo", true) addEventHandler("ShowWithInfo", root, ShowWithInfo) I couldn't wait for success, so I went ahead without it.
iMr ~ MnHmAr Posted October 13, 2017 Posted October 13, 2017 (edited) function ShowWithInfo(text) guiSetText(GUIEditor.memo[1],text) guiSetVisible(GUIEditor.window[2],true) guiSetVisible(GUIEditor.window[1],false) end addEvent("ShowWithInfo", true) addEventHandler("ShowWithInfo", root, ShowWithInfo) Edited October 13, 2017 by iMr ~ MnHmAr
A7M8D Posted October 13, 2017 Author Posted October 13, 2017 اية الفرق يعني ! I couldn't wait for success, so I went ahead without it.
AE. Posted October 13, 2017 Posted October 13, 2017 (edited) تعديل: زي ما @iMr ~ MnHmAr اعطاك الكود هو صح لانك مسوي سترينج المفروض تشيله Edited October 13, 2017 by 3laa33
Rockyz Posted October 13, 2017 Posted October 13, 2017 17 minutes ago, #MR.NaiF said: اية الفرق يعني ! الفرق انك كنت حاطط text بين سترنق
A7M8D Posted October 13, 2017 Author Posted October 13, 2017 اها صح معلش مشفتوش مفروض كدا ""..text.."" او text شكرا ليكم I couldn't wait for success, so I went ahead without it.
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