-
Posts
7,337 -
Joined
-
Days Won
11
Everything posted by TAPL
-
The function toggleControl in client side does NOT require player element. Read the wiki again, if you haven't already. https://wiki.multitheftauto.com/wiki/ToggleControl
-
عندك حلين الأول تحط تايمر في الكود الي انت حطيته بالموضوع بحيث انه بالأول يسوي للاعب سباون في المستشفى و بعد ما يسوي له في المستشفى يسوي له سباون ثاني بفارق بسيط في جزء من الثانية في المكان الي انت محدده للقروب الحل الثاني انك تاخذ الكود الي يسوي سباون للمستشفى و تعدل فيه و تحط تحقق إذا كان في قروب يروح للسباون المحدد و إذا ما كان في قروب يروح المستشفى
-
ذا الكود كنت مسويه على ايام سيرفري البيس مود عدل فيه نفس ماتبي addEventHandler("onPlayerLogin", root, function () if hasObjectPermissionTo(source,"function.kickPlayer",false) then bindKey(source,"u","down","chatbox","AdminChat") end end) addEventHandler("onResourceStart", resourceRoot, function () for index, player in pairs(getElementsByType("player")) do if hasObjectPermissionTo(player,"function.kickPlayer",false) then bindKey(player,"u","down","chatbox","AdminChat") end end end) function onChat(player,_,...) if hasObjectPermissionTo(player,"function.kickPlayer",false) then local msg = table.concat({...}, " ") local nick = getPlayerName(player) for _, v in ipairs(getElementsByType("player")) do if hasObjectPermissionTo(v,"function.kickPlayer",false) then outputChatBox("(AdminChat) "..nick..": #ffffff"..msg,v,255,100,0,true) end end end end addCommandHandler("AdminChat",onChat)
-
Replace line 20 with this: if not (vehicleBackLight[source]) and not isElementAttached(source) then And don't forget to fix the offset of attachElements at line 11 to be like line 24. And you have to find a way to get them out of the table when the vehicle destroyed.
-
متطلبات ايش الكود كله موجود في مثال الويكي https://wiki.multitheftauto.com/wiki/GetAccountData
-
What i am trying to say is that your GTA aren't the original, it's edited version. You may want to know more about it here: http://www.alb7ri.com/vb/alb7ri153693
-
I guess he want add new resource without have to restart the server, and he can do this by the command refresh. https://wiki.multitheftauto.com/wiki/Server_Manual#Installing.2FUpdating_resources_on_your_server https://wiki.multitheftauto.com/wiki/Server_Commands#refresh
-
.المشكلة من السيرفر، اللعبة مالها علاقة
-
Have you read the note when you install MTA? It's say: And your is GTA-SA-Stories V1.7 and it looks edited gta so don't blame MTA when it crash.
-
I hope that your windows is in English, Task Manager > Performance > Resource Monitor > Disk. And check which program is doing lots of hard disk activity or you can check the (Activity Time) for storage.
-
Not found We couldn't find the file you requested.
-
In addition, you may want to disable the original weapon sounds instead of running two weapon sound in same time so that you have better effect and less noisy. https://wiki.multitheftauto.com/wiki/SetWorldSoundEnabled About animations if you meant custom animations, it's not possible at this time. For more information about custom animations check this: https://bugs.multitheftauto.com/view.php?id=4571
-
كأنك يبو زيد ما غزيت استخدم آخر كود انت حطيته بالموضوع مع تعديل الحرف الي بعد النقطة إلى سمول من سطر 62 إلى سطر 82
-
هههههههههههه ما انا جالس اقول لك بالسكايب خل الحرف الي بعد النقطه سمول؟ b يصير B يعني حرف الخ
-
اعتقد ذا الي تبيه addEventHandler("onClientGUIClick", resourceRoot, function() if source == button1 then showChat(false) elseif source == button2 then showPlayerHudComponent("all", false) elseif source == button3 then for i, player in ipairs(getElementsByType("player")) do setPlayerNametagShowing(player, false) end end end)
-
انت تبي لما تضغط الزر الشات يختفي عند الكل او بس عند الي ضغط الزر؟ و الأسم تبي اسم الي ضغط الزر يختفي عند الكل؟
-
showChat showPlayerHudComponent ذا الفنكشن بتحتاج تستخدمه سيرفر إذا كنت تبي كل اللاعبين يشوفون تأثيره setPlayerNametagShowing
-
You're welcome.
-
بس المفروض يكون سيرفر فقط ! لان الفنكشن هذا ما راح يظهر الا الا خلص التحميل وانا وش ابي فيه اذا خلص التحميل اكيد الصندوق ما بيكون ظاهر بعض المودات يخلص تحميلها و تكون شغاله و في نفس الوقت صندوق التحميل ظاهر و يحمل مودات ثانية
-
I'm not sure what you mean by 'marker following player' but you could use attachElements?
