-
Posts
636 -
Joined
-
Days Won
8
sacr1ficez last won the day on February 16 2024
sacr1ficez had the most liked content!
Member Title
- Polish Section Moderator & Scripting Section Moderator
Recent Profile Visitors
11,200 profile views
sacr1ficez's Achievements
Crime Partner (30/54)
196
Reputation
-
bajojajo1908 started following sacr1ficez
-
sacr1ficez changed their profile photo
-
sacr1ficez reacted to a post in a topic:
Lua Language Server - Definition files
-
sacr1ficez reacted to a post in a topic:
[WIP] Hax's Collection
-
sacr1ficez reacted to a post in a topic:
Lua Language Server - Definition files
-
sacr1ficez reacted to a post in a topic:
[REL] Airplane (Official release)
-
FernandoMTA reacted to a post in a topic:
Lua Language Server - Definition files
-
IIYAMA reacted to a post in a topic:
Lua Language Server - Definition files
-
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
-
- lua
- lua language server
- (and 13 more)
-
sacr1ficez started following Lua Language Server - Definition files
-
sacr1ficez reacted to a post in a topic:
Lua Language Server - Definition files
-
IIYAMA reacted to a post in a topic:
Lua Language Server - Definition files
-
sacr1ficez reacted to a post in a topic:
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
-
- lua
- lua language server
- (and 13 more)
-
main started following sacr1ficez
-
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.
-
sacr1ficez reacted to a post in a topic:
turn off gui column transport
-
sacr1ficez reacted to a post in a topic:
Multi Theft Auto: San Andreas 1.6 is released!
-
sacr1ficez reacted to a post in a topic:
Multi Theft Auto: San Andreas 1.6 is ready for testing!
-
sacr1ficez reacted to a post in a topic:
20 Years of the Multi Theft Auto Project
-
FernandoMTA started following sacr1ficez
-
kkuba reacted to a post in a topic:
[2022] A Year in Recap and Season Greetings
-
HqHumIGGaH reacted to a post in a topic:
[2022] A Year in Recap and Season Greetings
-
Merry xmas and happy new year ?
-
Trust aka Tiffergan started following sacr1ficez
-
Anx1ty reacted to a post in a topic:
Skalowanie 4K
-
Lepszego raczej nie znajdziesz.
-
Executing Server Functions on the Client Side with a Return Value
sacr1ficez replied to Swimer's topic in Scripting
Try this, but carefully read full page. Might require some changes though. https://wiki.multitheftauto.com/wiki/CallServerFunction -
MTA.Castiel reacted to a post in a topic:
Fade Sound
-
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.
-
etrnl started following sacr1ficez
-
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)
-
BezTakich started following sacr1ficez
-
Topic moved for better results.
-
Project Z - MTA DayZ/Apocalypse Server (Selfmade)
sacr1ficez replied to dalexoxo's topic in German / Deutsch
Closed upon request.
