-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
فكرة لشخص نوب: لوحة فيها زر، لما تضغط الزر يجيك كيك أو خلنا نسوي تحسين للفكرة: لوحة فيها زر، لما تضغط الزر مره ممكن يعطيك كيك او مره يقتلك او مره يعطيك جائزة عبارة عن فلوس
-
إذا كنت انت الي مسويهم رح تعرف كيف تشغلهم
-
addEventHandler removeEventHandler setTimer
-
الفنكشن يعطيك الوقت و التاريخ و بعده انواع
-
طلب : طريقة اخفاء ملفات ddf , txd من مجلد recource
TAPL replied to -Q.9// #AJ[R]AM ~>'s topic in البرمجة
عيب الطريقة ذي كل مرة تخش السيرفر رح تحمل الملفات من جديد -
https://wiki.multitheftauto.com/wiki/Boolean
-
You can't even write proper English. I wonder how you will be able to explain the details of the "modes". And by the way, wrong section.
-
أو الأفضل استخدام getElementsWithinColShape * جنرال كودك الأول خطأ
-
^ + getElementsByType -- جلب جدول يحتوي على كل اللاعبين الي بالسيرفر for -- لوب على الجدول
-
You must include the function smoothMoveCamera in your code.
-
Don't forget this: Client file security https://wiki.multitheftauto.com/wiki/Filepath
-
Go to the home page http://www.delux-host.com Click on Login wherever your server location.
-
local playerWeapons = { } addEventHandler ( "onPlayerWasted", root, function ( ) if ( not playerWeapons [ source ] ) then playerWeapons [ source ] = { } end for slot = 0, 12 do local weapon = getPedWeapon ( source, slot ) if ( weapon > 0 ) then local ammo = getPedTotalAmmo ( source, slot ) if ( ammo > 0 ) then playerWeapons [ source ] [ weapon ] = ammo end end end end ) addEventHandler ( "onPlayerSpawn", root, function ( ) if ( playerWeapons [ source ] ) then for weapon, ammo in pairs ( playerWeapons [ source ] ) do giveWeapon ( source, tonumber ( weapon ), tonumber ( ammo ) ) end end playerWeapons [ source ] = nil end ) * مو انا مسوي الكود
-
You need to use a save function such as account data or db or xml. You can't save the table itself, for that you need to convert it to string so that you can save it. toJSON -- convert the table to string fromJSON -- convert the string back to table
-
kTable = {} addCommandHandler("kill", function(player) if not isPedDead(player) and not isPedInVehicle(player) then if not isTimer(kTable[player]) then setElementFrozen(player, true) kTable[player] = setTimer(function(player) if isElement(player) then killPed(player) setElementFrozen(player, false) end kTable[player] = nil end, 8000, 1, player) exports["guimessages"]:outputServer(player, "you will killed after 10 second __ To cancel it write ckill", 0, 255, 0, false ) end end end) addCommandHandler("ckill", function(player) if isTimer(kTable[player]) then setElementFrozen(player, false) exports["guimessages"]:outputServer(player, "you has been Successfully cancel it", 0, 255, 0, false) killTimer(kTable[player]) kTable[player] = nil end end)
-
vehicleManager defined where?
-
Sorry, but we don't give support with leaked scripts.
-
https://wiki.multitheftauto.com/wiki/Client_Scripting_Functions#Drawing_functions
-
This is not possible at the moment, though it been requested: https://bugs.multitheftauto.com/view.php?id=7345
-
والله ملقوف انت كل شوي طالع لواحد تقله غلط جربه اول وتعال قول خطأ مشكلتك تبرمج بتفكير سطحي جداً و ما تاخذ بكل الأحتمالات خلني احلل كودك نجي لكود السيرفر انت جالس تسوي لوب على كل اللاعبين و مسوي متغير داخل اللوب لكن فكر فيها زين المتغير راح يتغير داخل اللوب و يوقف على آخر لاعب في اللوب بالأخير انت تسوي تريقر للاعب الي بالمتغير و هو آخر واحد باللوب انت فرحان تقول يشتغل لكن فكر فيها ترا انت لحالك بسيرفر جهازك و انت الوحيد الي موجود في اللوب عشان كذا تشوف يجي لك الكلام بالأخير طالما الأفنت نفسه بالسيرفر فلا يوجد اي داعي ل تريقر من سيرفر إلى كلينت عشان تطلع كلام لكل اللاعبين root في السيرفر وايضاً دون الحاجة إلى لوب كل الي عليك تستخدم outputChatBox بكل بساطة تستخدم التريقر تحتاجة إذا كنت تبي تطلع كلام لكل اللاعبين و كودك كان كلينت هنا تحتاج تسوي تريقر للسيرفر
-
^^ مثالك كله خطأ على فكرة triggerClientEvent يفرق عن triggerServerEvent و ترا
-
لاهنت تابل ممكن شرح لـ هاذا client="1.4.0" server="1.4.0" /> الجواب في الصورة
-
ضيف السطر ذا باليمتا client="1.4.0" server="1.4.0" />
