-
Posts
636 -
Joined
-
Days Won
8
Everything posted by ds1-e
-
Hi As first you need table with your vehicles which is returned by getElementsWithinColShape function. Then you would need to use loop and getVehicleType function in order to verify whether is a helicopter or a simple vehicle. This will allow you to count certain vehicles type, and process logic based on result. getVehicleType function: https://wiki.multitheftauto.com/wiki/GetVehicleType Understanding loops: https://forum.multitheftauto.com/topic/121619-lua-for-absolute-beginners/
-
Have you tried using onClientKey event instead?
-
Are you sure that db returns valid database connection? Tip in custom events: Use client variable instead of passing player to server - see https://wiki.multitheftauto.com/wiki/Script_security
-
You haven't told us how those commands works. Not everyone is familiar with RP.
-
On server-side in any resource. If you don't have one, just create it. You'd need a folder (which would be your resource name), inside this folder, there should be meta.xml and server.lua (which will contain your code). Your meta would look like this. <meta> <script src="server.lua" type="server"/> </meta>
-
What do you mean by shaders? Perhaps multiple textures applied by replacement shader?
-
We require a effort from you, waiting till someone will do your job it's not a right way, and by doing so you won't learn anything.
-
Welcome back So Citizen, myself and probably many others used your resource bone_attach resource which was great for lots of various servers.
-
@Krzychuu skontaktuj się z administracją. Nie zajmujemy się poszczególnymi serwerami.
-
By setting items client-side you are inviting "hackers" to your server. Be aware that someday someone will exploit that you've doing it incorrectly, which will result in player copying items and so on.
-
Sadly it isn't, you need create replacement shader for every texture (no idea why it's like that though).
-
Jak wgrać edytowany model?
ds1-e replied to Huba013's topic in Pomoc z grą lub klientem/serwerem MTA
Zacznij od podstaw - https://wiki.multitheftauto.com/wiki/Scripting_Introduction Potem, przykład zamiany dostępny na wiki. https://wiki.multitheftauto.com/wiki/EngineLoadDFF Najlepiej by było abyś dołączył do naszego Discorda (discord.gg/mtasa) i napisał na kanale #pl-scripting. Od razu mówię, że wymaga to wysiłku z twojej strony. -
Better idea would be to move it to GitHub. https://github.com/multitheftauto/mtasa-blue/issues
- 1 reply
-
- 1
-
How can I show the animation to each player? (.ifp)
ds1-e replied to SoManyTears's topic in Scripting
As you did, onClientResourceStart, get all players and replace animation for them, and also onClientPlayerJoin, in case of latejoiners. -
https://wiki.multitheftauto.com/wiki/EngineRequestModel https://dev.prineside.com/en/gtasa_samp_model_id/ Use this site to verify if object exists somewhere on map. After clicking certain object it will be displayed.
-
Merry xmas!
-
Stop or remove runcode resource, or use ACL to restrict access to them.
-
https://wiki.multitheftauto.com/wiki/Forks "AC is generally unsupported for forked projects and may be dropped entirely in the future. This means that you generally cannot rely on the MTA anti-cheat for your fork. We strongly advise that you write and implement your own AC."
- 1 reply
-
- 1
-
This is a trick which i do not recommend. Due of thing mentioned above. Personally i'm using a IIYAMA's way for everything, and it works perfectly.