-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
لا تفتح موضوع جديد لنفس الطلب و الكود تم دمج الموضوعين
-
--COPY ALL OF THIS BUT CHANGE, radar1, zone1, enterArea1, warp1, displayTimer1, (And sometimes the "function.addAccount")-- radar1 = createRadarArea(84, 1774,320,370,0,255,0, 100) setElementData(radar1,"zombieProof",true) Zone1 = createColRectangle (84, 1774,320,370) addEventHandler("onColShapeHit", Zone1, function(h) if not isElement(h) then return end if getElementData(h,"zombie") then killPed(h) end --These zones are also zombie proof end) function enterArea1(thePlayer) local posX, posY = getElementPosition(thePlayer) local inArea = isInsideRadarArea(radar1, posX, posY) if (inArea) then if hasObjectPermissionTo(thePlayer, "function.addAccount", false) then --Specify who can enter the zone --primaryWeaponControl = isControlEnabled ( thePlayer, "fire" ) --if ( primaryWeaponControl == true ) then toggleControl ( thePlayer, "fire", not isControlEnabled ( thePlayer, "fire" ) ) -- change to true/false to allow/disallow shooting. outputChatBox("***Safe Zone***", thePlayer, 0, 255, 0, true) --end else triggerClientEvent(thePlayer, "displayTimer1", thePlayer) end end end addEventHandler("onColShapeHit", Zone1, enterArea1)
-
result table will looks like: result = { [1] = { ["columnName"] = value, ["columnName"] = value, ["columnName"] = value }, [2] = { ["columnName"] = value, ["columnName"] = value, ["columnName"] = value }, [3] = { ["columnName"] = value, ["columnName"] = value, ["columnName"] = value } } So defiantly result[1] won't be JSON string ( line 8 ). Also you've used UPDATE for column 'data' but your sql table doesn't have column with such name.
-
التكتيك حسب علمي مشفر ب التشفير القديم
-
سوي فنكشن بكل مود لفتح نافذة المود و سوي للفنكشن اكسبورت call ممكن تستخدم طرق ثانية مثل تريقر او كومند مع استخدام الفنكشن ذا executeCommandHandler
-
theTable = { "Hello1", "Hello2", "Hello3", "Hello4", "Hello5", "Hello6", "Hello7", "Hello8", "Hello9", "Hello10" } for i, value in ipairs(theTable) do outputChatBox(i.." ::: "..value) end تشوف المثال هذا رح يكتب كل الكلام بالجدول في الشات value انا عرفت القيمة الي باللوب بأسم ،outputChatBox بمعنى آخر راح يمر على كل صف بالجدول و يكرر الكود الي داخل اللوب الي هو رح يتغير إلى قيمة الصف value داخل اللوب بكل مره يتغير الصف الي اللوب حالياً فيه، المتغير رح يكون رقم الصف i و المتغير تكرر 10 مرات بينما بالمثال الي فوق مره واحده فقط outputChatBox ذا الكود نفس المثال الي فوق لكن بدون لوب و تشوف الكود outputChatBox("1 ::: Hello1") outputChatBox("2 ::: Hello2") outputChatBox("3 ::: Hello3") outputChatBox("4 ::: Hello4") outputChatBox("5 ::: Hello5") outputChatBox("6 ::: Hello6") outputChatBox("7 ::: Hello7") outputChatBox("8 ::: Hello8") outputChatBox("9 ::: Hello9") outputChatBox("10 ::: Hello10")
-
من مسؤوليتك الأحتفاظ بالملف غير المشفر و عمل نسخ اختياطية محد هنا راح يساعدك بفك تشفير اي شي انت او مو انت الي مسويه ذا ما يهم لكن لا تتوقع الكثير ccw ممكن تحاول تكلم
-
https://forum.multitheftauto.com/viewtopic.php?f=160&t=93713 بدأ الموضوع بالسطرين ذول local myMarker = createMarker( 2485.64136, -1666.60461 ,12.5, 'cylinder', 2.0, 255, 0, 0, 150) -- create myMarker local hillRadar = createRadarArea ( 2485.64136, -1666.60461, 111, 440, 0, 255, 0, 175 ) و خرج من الموضوع و معه الكود ذا local TeamName = "Ballas" local myMarker = createMarker( 2485.64136, -1666.60461 ,12.5, "cylinder", 2.0, 255, 0, 0, 150 ) local hillRadar = createRadarArea( 2485.64136, -1666.60461, 111, 440, 0, 255, 0, 175 ) addEventHandler( "onMarkerHit", resourceRoot, function( hitElement ) if ( source == myMarker ) and ( getElementType( hitElement ) == "player" ) then local PlayerTeam = getPlayerTeam( hitElement ) if ( PlayerTeam ) and ( getTeamName( PlayerTeam ) == TeamName ) then if ( not isTimer( TurfTimer ) ) then function Turf( R, G, B ) local Team = getTeamFromName( TeamName ) if ( not Team ) then return end setRadarAreaColor( hillRadar, R, G, B, 255 ) local Money, Boolean = math.random( 500, 5000 ) for _, Player in ipairs( getPlayersInTeam( Team ) ) do if ( isElementWithinMarker( Player, myMarker ) and Boolean ~= true ) then Boolean = true end outputChatBox( "The Rader Color Has Been Changed !", Player, 0, 255, 0, true ) givePlayerMoney( Player, Money ) end if ( Boolean ) then TurfTimer = setTimer( Turf, 180000, 1, getTeamColor( PlayerTeam ) ) end end TurfTimer = setTimer( Turf, 180000, 1, getTeamColor( PlayerTeam ) ) end end end end )
-
@Me[Z]oO إذا ما تعرف تبرمج ولا تعرف الحل مو مجبور ترد على الموضوع الحل اضافة شرط بالكود الي يلغي الدمج onClientPlayerDamage - cancelEvent ممكن تضيف المنت داتا لما لاعب يدخل الماركر و بالكود الي يلغي الدمج تضيف تحقق للألمنت داتا ممكن تستخدم كول شيب بعد
-
للمرة الثاتية و بالنسبة لـ شكواك عن عدد المشاركات بالموضوع، كان من الأفضل لك اتباع قوانين المنتدى
-
You can either learn and make it yourself or pay someone to make it for you as you want it. You can also wait for someone to post a ready free code in this topic which may not happen anyway.
-
لا تفتح موضوع جديد لنفس الكود تم دمج الموضوعين
-
Run --> dxdiag --> display لا تتوقع كرت انتل المدمج يشغل لك العاب بدون لاق + جرافيكس مخيس
-
Event: 'onVehicleStartEnter' getVehicleController getPlayerTeam cancelEvent Event: 'onClientRender' getTeamFromName getPlayersInTeam getElementPosition getDistanceBetweenPoints3D dxDrawText
-
Clearly you didn't put the code on the correct side.
-
Have you tried to contact TCAdmin support?
-
ينقل إلى القسم العام
-
غير مكان السطر الأول و الثاني بحيث السطر الثاني تحطه قبل الأول يفترض عندك خطأ واضح بالدي بق
-
addEventHandler ( "onClientGUIClick", guiRoot, function ( ) if ( source == login ) then local user = guiGetText(user) local pass = guiGetText(pass) local user1 = guiGetText(user1) local pass1 = guiGetText(pass1) if user ~= "" and pass ~= "" then if guiCheckBoxGetSelected(remember) then triggerServerEvent("onLogin",localPlayer,user,pass) else triggerServerEvent("onLogin",localPlayer,user,pass) end else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif ( source == reg ) then local user = guiGetText(user) local pass = guiGetText(pass) local user1 = guiGetText(user1) local pass1 = guiGetText(pass1) if user1 ~= "" and pass1 ~= "" then triggerServerEvent("onReg",localPlayer,user1,pass1) else outputChatBox("* You Must Write Username Or Password",255,0,0) end elseif( source == chechbox ) then if guiCheckBoxGetSelected ( source ) then if ( isElement ( IntroSong ) ) then destroyElement ( IntroSong ) outputChatBox ( "Sound Played !", 255, 255, 0, true ) end else IntroSong = playSound ("files/Intro.mp3") outputChatBox ( "Sound Stopped !", 255, 255, 0, true ) end end end)
-
!!MySQL عشان شات يستخدم الفنكشن ذا + موجود الكود بمثال الويكي https://wiki.multitheftauto.com/wiki/CallRemote
