Adham Posted July 2, 2016 Share Posted July 2, 2016 سلام عليكم يوم عامل سبورت سيسم شغاله تمام في المحلي لاكن حطيتها في العالمي محد يقدر يبعت رساله كلنت addEventHandler("onClientGUIClick",GUIEditor.button[2], function () if guiGetText( GUIEditor.edit[1] ) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText ( GUIEditor.edit[1] , "" ) guiSetEnabled( GUIEditor.button[2] , false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[2], true) end end) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(text,name) local hour = getRealTime().hour local minute = getRealTime().minute local second = getRealTime().second+1 local gg = guiGridListAddRow(GUIEditor.gridlist[2]) if ( guiCheckBoxGetSelected( GUIEditor.checkbox[2] ) == true ) then guiGridListSetItemText(GUIEditor.gridlist[2],gg, 1, "["..tonumber(hour)..":"..tonumber(minute)..":" ..tonumber(second).."] [support] "..name:gsub("#%x%x%x%x%x%x", "") ..": " .. text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[2],gg, 1, 0, 255, 0, 255) elseif ( guiCheckBoxGetSelected( GUIEditor.checkbox[1] ) == true ) then guiGridListSetItemText(GUIEditor.gridlist[2],gg, 1, "["..tonumber(hour)..":"..tonumber(minute)..":" ..tonumber(second).."] [Player] "..name:gsub("#%x%x%x%x%x%x", "") ..": " .. text , false, false) guiGridListSetItemColor(GUIEditor.gridlist[2],gg, 1, 255, 136, 0) end end) سرفر addEvent("support",true) addEventHandler("support",root, function ( text ) if ( isObjectInACLGroup ( "user." .. getAccountName ( getPlayerAccount ( source ) ),aclGetGroup ( "Support") ) ) then triggerClientEvent ( root,"sendmessage2",root,getPlayerName ( source), text ) end end) Link to comment
#|_oskar_|# Posted July 2, 2016 Share Posted July 2, 2016 اغلب المشاكل اللى تصير زي كدا هو الترميز غير ترميز الملف الى utf-8 Link to comment
Anis Posted July 2, 2016 Share Posted July 2, 2016 اذا كنت تستعمل برنامج النوت باد بلس بلس دوس على Encodage ثم دوس على Encodage en UTF-8 Link to comment
#|_oskar_|# Posted July 2, 2016 Share Posted July 2, 2016 ماشاء الله عليك عندك ذكاء عساه مايجيني Link to comment
Vunili Posted July 2, 2016 Share Posted July 2, 2016 #|_oskar_|# said: ماشاء الله عليك عندك ذكاء عساه مايجيني هههههههههههههههههههههههه Link to comment
Me[Z]oO Posted July 3, 2016 Share Posted July 3, 2016 #|_oskar_|# said: ماشاء الله عليك عندك ذكاء عساه مايجيني مبرمج عظيم وش تبي منه اوسكار هههههههههههههههههههههههههههههههههههههههه Link to comment
Me[Z]oO Posted July 3, 2016 Share Posted July 3, 2016 Mr.MtFcH said: اذا كنت تستعمل برنامج النوت باد بلس بلسدوس على Encodage ثم دوس على Encodage en UTF-8 بلس = + علامة الموجب Mr,[L]e3bA said: وش بلبيس دا بلبيس ذا نوع من الجن 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