-
Posts
636 -
Joined
-
Days Won
8
ds1-e last won the day on February 16
ds1-e had the most liked content!
Member Title
- Polish Section Moderator & Scripting Section Moderator
Recent Profile Visitors
8,320 profile views
ds1-e's Achievements
Crime Partner (30/54)
196
Reputation
-
ds1-e changed their profile photo
-
After some testing i could just say: wow. Just for the sole fact of updated syntax this is amazing (although there is mistakes to be found), and the latter is just spicy addition.
- 15 replies
-
- 2
-
- lua
- lua language server
- (and 13 more)
-
ds1-e started following Lua Language Server - Definition files
-
I assume both annotations and go to definition (particularly variable, because you can already go to function definition) works for Sublime Text 4 as well?
- 15 replies
-
- 1
-
- lua
- lua language server
- (and 13 more)
-
Zapewne odnosisz się do danego serwera, musiałbyś się zgłosić na ichniejszym forum.
-
Make sure to update all default (and community) resources. Keeping them outdated could lead to such scenarios, where they could make use of incorrectly written logic. Disable access to load and loadstring in ACL, unless you have certain reason to keep it enabled (latest MTA builds have it disabled by default). <right name="function.loadstring" access="false"/> <right name="function.load" access="false"/> You could take a look at Script security article, which i've recently updated. Also, there's no such anti-cheat which would protect you from vulnerable Lua code running on your server, so blaming it in first place isn't reasonable - which most of people nowadays shamelessly do. Including ungratefulness towards AC team, which provided nearly cheat-free experience for a few good years.
-
FernandoMTA started following ds1-e
-
Merry xmas and happy new year ?
-
Trust aka Tiffergan started following ds1-e
-
Lepszego raczej nie znajdziesz.
- 1 reply
-
- 1
-
Try this, but carefully read full page. Might require some changes though. https://wiki.multitheftauto.com/wiki/CallServerFunction
-
You can use https://wiki.multitheftauto.com/wiki/Animate In order to smoothly change volume.
-
Napisz tutaj - https://forum.multitheftauto.com/forum/180-ban-appeals/ Tylko po angielsku.
-
function onClientPlayerDamage(pAttacker, pDamage, pBodypart) local localAttacker = pAttacker == localPlayer if not localAttacker then return false end -- do trigger event to server, preferrably do some check if victim ~= localPlayer; victim in this case is 'source' (without ') end addEventHandler("onClientPlayerDamage", root, onClientPlayerDamage) Note that i won't do everything for you, for next part please read:
-
Perhaps freeroam/fr_client.lua (line 60) For the next time please use Find in files feature, which should be available in any decent code editor. It's CTRL + SHIFT + F for Sublime Text.
-
Hit markers are probably based off attacker sync, use onClientPlayerDamage event (bind it to root), check if attacker equal to localPlayer, and then kill player if required (triggerServerEvent, and kill player server-side)
-
Topic moved for better results.
-
Project Z - MTA DayZ/Apocalypse Server (Selfmade)
ds1-e replied to DORTEY's topic in German / Deutsch
Closed upon request.