-
Posts
369 -
Joined
-
Last visited
-
Days Won
4
Everything posted by WorthlessCynomys
-
Probably the password is wrong. How do you make a local db?
-
Well make the model and export it into a .dff file. MTA uses dffs for 3D models
-
addEventHandler() onClientMinimize event getRealTime() outputChatBox() Read the wiki's of these things and try to build it yourself. With this amount of information, you should be able to. If not, you either don't know Lua basics or programming is not for you.
-
You must have a .dff file, that contains the 3D model. After that you can write a CLIENT side code that changes one of GTAs model to your model. That code is 2 lines long, 4 if you have a UV mapped texture in .txd format. You can easily find the code on MTA WIKI.
-
You can't. It is possible in client side, because every client side script runs separately om every players PC. The server side script runs only on the server PC and affects everyone. When you trigger a server side event, from client side, you get the client in the variable name "client". It's like source at events
-
You never give up. That's a rule if you want to learn this. What should this script do? Do you use debugscript? Have any errors?
-
Well... Most of the time I don't mix MTA GUI with dx functions. And tbh I don't really understand your intentions
-
So you want to display the fuel amount in a car? Read the dxDrawText page on WIKI. Here's an example, how to put it in the context. addEventHandler("onClientRender", root, function() -- dxDrawText here end );
-
event marked as not remove triggerable | help!
WorthlessCynomys replied to JeViCo's topic in Scripting
Try to give the second argument of the addEvent. Set it to true to make sure that the other side can call it. -
Which car model did you replace? If it has tuneable parts by default, I mean the original model, then all you have to do is that you replace the tuning parts too. In the tuning system, I can't help you rn.
-
There are a lot of white spaces in that SQL Query. Get rid of them! Clean up your code from top to toe!
-
A leghatékonyabb megoldás erre a render target. Ha csinálsz egy render targetet és arra rajzolsz, akkor azt ami lelógna a render targetről levágja a rákba. Ezért mondtam. dxCreateRenderTarget dxSetRenderTarget aztán rajzolsz. Elméletben ami lelóg a render targetről, azt levágja.
- 21 replies
-
- 1
-
-
- dxdrawtext
- hogyan
-
(and 1 more)
Tagged with:
-
Több dx funkció is kell hozzá. Létre kell hozni, egy dxTargetet és utána dxSetRemder target, azután a rajzolások majd leveszed a renderTargetet
- 21 replies
-
- dxdrawtext
- hogyan
-
(and 1 more)
Tagged with:
-
Arra ís írtam megoldást.
- 21 replies
-
- dxdrawtext
- hogyan
-
(and 1 more)
Tagged with:
-
Sortörést tudsz manuálisan végezni. És a levágást is meg lehet oldani másik módszerrel. A sortöréshez \n-t kell használnod a stringben: "Ez itt\negy új sor" -- [[ Ez így fog kinézni: Ez itt egy új sor --]] A levágást meg dxSetRenderTarget segítségével tudod megoldani.
- 21 replies
-
- dxdrawtext
- hogyan
-
(and 1 more)
Tagged with:
-
Clip. Bocsánat. A clip argumentum intézi, hogy ha kilóg a keretből akkor levágja
- 21 replies
-
- dxdrawtext
- hogyan
-
(and 1 more)
Tagged with:
-
Hello! Növelheted a keretet, de ha azt nem akarod, akkor van egy crop argumentuma. Nézd meg a wikit...
- 21 replies
-
- dxdrawtext
- hogyan
-
(and 1 more)
Tagged with:
-
Gui labelekről beszélünk? Mert ott szerintem nem lehet. Csak dxText ben
- 6 replies
-
- 1
-
-
- multicolor
- label
-
(and 1 more)
Tagged with:
-
Ha outputChatBoxban csinálod akkor a colorcoded argumentumot truera kell állítani
- 6 replies
-
- multicolor
- label
-
(and 1 more)
Tagged with:
-
Próbáltad HEX színkódokkal? Pl. : "#0000FFKÉK #FFFFFFés #FF0000PIROS"
- 6 replies
-
- multicolor
- label
-
(and 1 more)
Tagged with:
-
No. That only works on client. Sorry
-
As I know, players are children of root and resourceRoot(not sure about this second) by default.
-
I don't know if it is possible, but why would you have to do that?
-
On client side, you can point to the local player with the word localPlayer. Like: getPedOccupiedVehicle(localPlayer)
-
I can't open that file. I'm from mobile rn. What arguments does lazyQuery request? Do you give them properly?