-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
Try function handleOnPlayerModInfo(filename, modList) local theName = getPlayerName(source):gsub("#%x%x%x%x%x%x","") outputChatBox(theName.." "..filename, root, 255, 0, 0) for idx, mod in ipairs(modList) do local line = tostring(idx)..") "..tostring(mod.name) triggerClientEvent(root, "addInfo", root, line, theName) end end addEventHandler("onPlayerModInfo", root, handleOnPlayerModInfo)
-
You need to check that the hit player is the local player. if hitPlayer == localPlayer then
-
addEventHandler('onClientMarkerHit', marker, function( Hit ) if getElementType(Hit) == 'player' then guiSetVisible(Name, true) showCursor (true) end end ) addEventHandler('onClientMarkerHit', marker, function( Hit ) if Hit == localPlayer then guiSetVisible(Name, true) showCursor (true) end end )
-
I can't explain to you more than the explanation provided at the wiki page. If you can't read this is a serious problem.
-
setWorldSoundEnabled playSound3D
-
#ينقل لقسم البرمجة بالنسبة للكود قصدك تبي نسوي الكود عنك و نعطيك اياه و أنت بس تسوي كوبي بست؟ اهااا
-
خارجي http سيرفر وزارة أنا مسوي لهم التحميل على https://wiki.multitheftauto.com/wiki/Server_Manual#Configuring_an_external_web_server الطريقة عشان تسويها يفضل يكون عندك خادم
-
ودي أفهم الحين ذا السطر addEvent ( "onPlayerKillMessage", "wasted,killer,weapon" ) !!!شلون صار كذا؟ ترا الكود الأصلي كذا addEvent ( "onPlayerKillMessage" )
-
1 هو صفر إذا ما ضبط جرب حط seat أضن ان رقم السوق ال local car = createVehicle ( 560, 836.54529, -2036.90076, 12.86719 ) createBlipAttachedTo(car,27) setVehiclePaintjob ( car, 2 ) addEventHandler("onResourceStart",resourceRoot, function() setVehicleDamageProof(car,true) end) addEventHandler("onVehicleStartEnter", root, function(player, seat) if(source==car)then if (getPlayerSerial(player)~="1DCCRAD31F0DC576D66EB78199FE5FA2") and (seat == 0) then cancelEvent() r,b,g = math.random(0,255) outputChatBox( "ليست ملكك هذه السياره", player, r, b, g, true ) else r,b,g = math.random(0,255) outputChatBox( ".:[نورت السياره ]:.", player, r, b, g, true ) end end end)
-
onClientPlayerDamage تشوف اسم الأفنت؟ !!!فيه كلمه كلينت يعني الكود كلينت
-
^^ تخبيص تايم أنت حاطه كلينت و إلا سيرفر؟
-
https://wiki.multitheftauto.com/wiki/IsElementWithinMarker
-
lol ? 'onMarkerLeave' killPlayer lol ? 'onClientMarkerLeave' setElementHealth
-
لوووووول انت جبتها علي نفسكك ابي افهم هاذي وش فايدتها وليش اشوفها ببعض المودات وبـ وش اقدر استخدمها وكيف استخدمها و بـ وش اكثر شي تفيدك فيه for i,v in ipairs + مشكور ع الشررح فهمته بس ابيك تشرحلي ذي for i,v in ipairs .هذا يمر على كل العناصر الي في الطاولة، أقصد الجدول
-
You're using player at line 1 and hitElement at line 6. i guess this is the problem.
-
-- Server Side !!! addEventHandler("onPlayerLogin", root, function(_, account) if not getAccountData(account, "FirstTime") then outputChatBox("You're playing for the first time!", source, 0, 255, 0) setAccountData(account, "FirstTime", true) else outputChatBox("This is not the first time for you!", source, 255, 0, 0) end end)
-
ok don't tell anyone. Locked.
-
The resource "[ROG]Groups" is not started.
-
I can't see 'isPlayerInVehicle' in your code. Your script should be client side because createSWATRope is client side only. CMD_SWATROPE = "swatrope" function createSwatRope() local myVehicle = getPedOccupiedVehicle(localPlayer) if myVehicle and getVehicleName(myVehicle) == "Police Maverick" then local x,y,z = getElementPosition(myVehicle) createSWATRope(x, y, z, 10000) else outputChatBox("Enter Police Maverick!", 255, 0, 0) end end addCommandHandler(CMD_SWATROPE, createSwatRope)
-
ذا قصده انه فيه برنامج يسوي دوس على السامب
-
يمكن مود الأدمنية مو شغال
-
الحين المابات ذي حق اي قيم مود؟ ووش عرفنا ان المابات الي حملتها شغاله و مو خربانه حط لنا ماب من المابات الي حملتها و ما اشتغل
