-
Posts
2,259 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Adham
-
مدري شو طلبك الاول م فهمه الطلب التاني MyMarker = createMarker (x,y,z, "cylinder",1,100,255, 0,90) -- الماركر addEventHandler("onClientMarkerHit",MyMarker, -- حدث اذا لمس المركر bool fixVehicle ( vehicle theVehicle ) -- مشان تصلح السياره
-
شكرا لك ميزو بس سوال بس لو حطيط الكود ذا مكان سورس root triggerClientEvent("AddMezo",root,text1,text2,text3) بيخلي كل الناس تبعت ولا انا بس؟
-
كدا كلنت addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1]) then local item = guiComboBoxGetSelected ( GUIEditor.combobox[1] ) local text = guiComboBoxGetItemText ( GUIEditor.combobox[1] , item ) if ( guiGetText ( editname ) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then triggerServerEvent("addee",localPlayer,guiGetText(editname),text,guiGetText(GUIEditor.edit[1])) end end end ) addEvent( "add", true ) addEventHandler( "add",root, function () local row = guiGridListAddRow ( gridlist) guiGridListSetItemText (gridlist,row,1,guiGetText(editname),false,false) guiGridListSetItemText (gridlist,row,2,text,false,false) guiGridListSetItemText (gridlist,row,3,guiGetText(GUIEditor.edit[1]),false,false) end ) سرفر addEvent( "addee", true ) addEventHandler( "addee",root, function () for Key, Value in ipairs(getElementsByType("player")) do triggerClientEvent("add",source) end )
-
سلام علي الكود ذا لما يحدد في الايديت يروح للقريد لست المشكله اني دخلت صحابي انا عملت جا في القريد لست لاكن صحابي لا قلولي اعمل ترقير وترقير كلنت م عرفت اسويه الكود addEventHandler("onClientGUIClick",root, function () if ( source == GUIEditor.button[1]) then local item = guiComboBoxGetSelected ( GUIEditor.combobox[1] ) local text = guiComboBoxGetItemText ( GUIEditor.combobox[1] , item ) if ( guiGetText ( editname ) and guiGetText ( GUIEditor.edit[2] ) and guiGetText ( GUIEditor.edit[1] ) ~= '' ) then local row = guiGridListAddRow ( gridlist) guiGridListSetItemText (gridlist,row,1,guiGetText(editname),false,false) guiGridListSetItemText (gridlist,row,2,text,false,false) guiGridListSetItemText (gridlist,row,3,guiGetText(GUIEditor.edit[1]),false,false) end end end )
-
سلام عليكم ابي فكشن انا عامل سرفر ديربي ابي لما حد يموت ياخد فلوس#
-
if isObjectInACLGroup ( "user." .. getAccountName ( playerAcc ), aclGetGroup ( "Police" ) ) نقصك عرف local playerAcc = getPlayerAccount ( player ) if not isGuestAccount ( playerAcc ) then
-
Test . dxDrawFramedText("Admin ["..Name.."]::gsub("#%x%x%x%x%x%x", "") ",14, 235, 783, 264,tocolor(255, 0, 0, 255),1.0,"default-bold","left","top",false,false,false)
-
لا اسوي نفسي مبرمج؟ علي اساس انك مبرمج بتقول ال900 مشاركه عبيط قسم . + م حد طلب رايك في اني مبرمج او لا لا تحتك بي
-
من لعبه؟ يطلب اكواد تافهه؟ اكواد تفهه مثلك ^ لاكن المنتدي مب ملكك عشان تقولي انزل موضوع ولا لا ! وبعدين انك م تبي تفهم اني مب SaedAmer انت م تبي تفهم شي يرجع لك لاكن مالي دخل فيك انا . + هذا يدل علي غبائك انك م تبي تفهم
-
م عرفت اسوي اوي addEventHandler("onClientGUIClick",root, function () if source == buttonclolor then local Color = guiGetText(editcolor) triggerServerEvent("SetColor",localPlayer,guiGetText(editcolor)) end end ) addEvent("setColor",true) addEventHandler("SetColor",root, function (color) if ( getPlayerMoney (source) >= 7000 ) then takePlayerMoney(source, 7000) local red, green, blue, alpha = getColorFromString ( color ) setBlipColor ( red, green, blue ) end end )
-
سلام عليكم انا عامل ايديت وعاوز يكتب في الايديت كود لون مثلن #ff0000- ويضعط علي button يجي في السياره اللون الهوا كتبو في الايدت بس لازم يكون معه 1500 فلوسي و م يقدر يكتب غير كود مل دا #ff0000 #00ff00 وتكون محفوظه لين يخش ويطلع --- طلب تاني لو ضعط علي زر وهوا معه 5000 فلوس يجيلو في السياره لون روندو كلر الوان عشاوائيه وتكون محفوظه لين يخش ويطلع
-
جرب . ملحوظة : غير مجرب كلنت addEventHandler("onClientGUIClick",root, function() local sel = guiGridListGetSelectedItem(GUIEditor.gridlist[1]) local text = guiGridListGetItemText(GUIEditor.gridlist[1],sel,1) if( source == button ) then if guiGetText (GUIEditor.edit[1]) ~= '' then setElementData (localPlayer,'Tag',guiGetText (edittag)) setElementData (localPlayer,'colour',guiGetText (editcolor)) end end end ) سرفر function Tags (msg,Colour) local player = getPlayerFromName(source) if ( player ) then local tag = getElementData(source,"Tag") local colour = getElementData(source,"colour") outputChatBox(colour..' '.. tag ..' '.. getPlayerName(source) .. ''..colour..' : '.. msg,root, r, g, b, true) return cancelEvent() end end) addEventHandler("onPlayerChat",root,Tags)
-
شو الكود ذا function isMouseInPosition ( x, y, width, height ) if ( not isCursorShowing ( ) ) then return false end local sx, sy = guiGetScreenSize ( ) local cx, cy = getCursorPosition ( ) local cx, cy = ( cx * sx ), ( cy * sy ) if ( cx >= x and cx <= x + width ) and ( cy >= y and cy <= y + height ) then return true else return false end end
-
تمام انا عاوز اعمل اذا ضعط علي زر في الدي اكس ومعاه 1500 فلوس يجي تصليح كيف احدد الزر في الدي اكس