Adham Posted April 30, 2016 Share Posted April 30, 2016 سلام عليكم انبي فكشنات انا عامل لوحة اكل ببسي والخ ابي الفكشن تبع الاكل Link to comment
[iMr]-W[i]Fi,.! Posted April 30, 2016 Share Posted April 30, 2016 (edited) getElementData من جدك تاكل بيبسي ؟ Edited April 30, 2016 by Guest Link to comment
Me[Z]oO Posted April 30, 2016 Share Posted April 30, 2016 getElementData من جدك تاكل بيبسي ؟ اكل يعني يزود دم setElementHealth Link to comment
Adham Posted April 30, 2016 Author Share Posted April 30, 2016 انا ابي شرب واكل وبيتزا والخ Link to comment
iMr.SFA7 Posted April 30, 2016 Share Posted April 30, 2016 انا ابي شرب واكل وبيتزا والخ رح اقرب محـل بيتزا لك او عندك بيتزا هت Link to comment
Me[Z]oO Posted April 30, 2016 Share Posted April 30, 2016 انا ابي شرب واكل وبيتزا والخ رح اقرب محـل بيتزا لك او عندك بيتزا هت Link to comment
Adham Posted April 30, 2016 Author Share Posted April 30, 2016 شو المشكله هنا؟ انا عاوز لما يغير اسمه يجي في القريد لست addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) rw = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," ".. oldNick .." is now known as " .. newNick",false,false) end end ) Link to comment
Me[Z]oO Posted April 30, 2016 Share Posted April 30, 2016 addEventHandler('onClientPlayerChangeNick', root, function(oldNick, newNick) rw = guiGridListAddRow (GUIEditor.gridlist[1]) guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," "..oldNick.." is now known as "..newNick..,false,false) end end ) في شي اسمه دي بق ! Link to comment
Adham Posted April 30, 2016 Author Share Posted April 30, 2016 بيقلي المشكله هنا guiGridListSetItemText (GUIEditor.gridlist[1],rw,1," "..oldNick.." is now known as "..newNick..",false,false) http://b.top4top.net/p_120fjc61.png Link to comment
Adham Posted April 30, 2016 Author Share Posted April 30, 2016 طيب انا عامل سبورت سيستم وعاوز يضعط انتر يبعت رساله يعني انا عامل لما يضعط علي Send يبعت الرساله انا عاوزها يضعط انتر يبعت الرساله وش استخدم ؟ فكشن Link to comment
billal Posted April 30, 2016 Share Posted April 30, 2016 function Le3bA ( button ) if button == "enter" then outputChatBox ( "???????", player, 0, 255, 0, true ) addEventHandler("onClientKey", root, Le3bA) Link to comment
nxFairlywell Posted April 30, 2016 Share Posted April 30, 2016 addEventHandler("onClientGUIAccepted") Link to comment
Adham Posted April 30, 2016 Author Share Posted April 30, 2016 طيب الكود ذا لبيبعت رسالة في القريد لست كيف احطو الحدث وفيه حدث الضعط؟ addEventHandler("onClientGUIClick",GUIEditor.button[1],function () if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) end end, false) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) 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[1] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : #00FF00"..guiGetText(GUIEditor.edit[1]),255,255,0,true) end end) Link to comment
iMr.WiFi..! Posted May 1, 2016 Share Posted May 1, 2016 الحين تسمي الفنكشن وتحط اسم الفنكشن في الارقمنت الثالث اذذا ما فهمتني امسسك , function Rg3AsmkL3bh( button ) if button == "enter" then if source == GUIEditor.button[1] then if guiGetText(GUIEditor.edit[1]) ~= '' then triggerServerEvent("support",localPlayer,guiGetText(GUIEditor.edit[1])) guiSetText (GUIEditor.edit[1], "" ) else guiSetEnabled(GUIEditor.button[1], false) setTimer(guiSetEnabled, 3000, 1, GUIEditor.button[1], true) end end end addEventHandler("onClientGUIClick",root,Rg3AsmkL3bh) addEventHandler("onClientKey",root,Rg3AsmkL3bh) addEvent("sendmessage2",true) addEventHandler("sendmessage2",root, function(Name,Text) 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[1] ) == true ) then outputChatBox("[support-System] #FF0000"..Name.."#FFFFFF : #00FF00"..guiGetText(GUIEditor.edit[1]),255,255,0,true) 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