-
Posts
21 -
Joined
-
Last visited
Everything posted by Yeleha
-
Opened an issue for a typo, waiting for merge
- 15 replies
-
- 1
-
-
- lua
- lua language server
- (and 13 more)
-
Do you have a Discord? I'd like to talk about it more.
-
Also adding a shader to make the vehicle shadow invisible
-
My users are crashing because of the 'Out of video memory' offset. I would really appreciate some tips & tricks to optimize scripts and models. (I am trying to optimize models but we are using some extravagant model sizes that I can't get under 1MB no matter how hard I try.) I tried performancebrowser but I am unsure about the values the Lua Memory tab shouldn't be reaching at max.
-
Use Amount instead of sumpmoney.
-
local playermoney = getPlayerMoney(player) Player in this case is the source that is executing it, so you. If you want to set it to a player with an account that is currently logged in you should do that with a loop. for k,v in pairs(getElementsByType("player")) do if getAccountName(v) == AccName then -- This can cause problems if more players are on the same account, giving all of them money givePlayerMoney(v, amount) end end
-
I was wondering how to have more then 315 skin IDs. I saw a server have 400+ slots for skins but I can't reproduce that behavior in any sort of way.
-
I don't have ACL access with these settings. The group has access to this.
-
Can't figure out how to use it. Can you complete the script for me please?
-
I have a simple script to show the cursor on bind, but I don't want any binds ( except the bind to switch the cursor ) to be usable when it's shown. function toggleCursor() if (isCursorShowing()) then showCursor(false) guiSetInputMode('allow_binds') else showCursor(true, true) guiSetInputMode('no_binds') end end bindKey("m", "down", "togglecursor") This works but the M-key is not usable.
-
I was thinking about how I should make the player finger point to the camera position exactly like in Gta V. If somebody would find some free time I would greatly appreciate if you would make the script for me.
-
I have a different problem now, when I have my in-game mouse visible, the door can still be opened/closed and I would need a fix for that.
-
Okay, I fixed it now it works just fine.
-
Is somebody able to find out why don't the flames work?
-
I've made it so it implements the turbo and als after a command but the flames don't shoot out of the exhaust, only the sound plays.
-
I would need it specific to a vehicle after using a command inside of the vehicle. ( Not assigned to the vehicle id but to the exact vehicle I am sitting in )
-
I saw this resource but I can't get the blowoff/antilag ( ALS ) working on my vehicle. [REL] bengines - simple custom vehicle sounds - Resources - Multi Theft Auto: Forums (mtasa.com) I can't find the command to enable the ALS in the scripts.
-
Thanks for the reply! It works just like I wanted it to work ?
-
Hi, I am looking for a resource to close/open nearby vehicle door on key press. I found this resource ( free to edit ) : Multi Theft Auto | Community (mtasa.com). It would be appreciated if you would modify the resource so the doors don't open/close inside of the vehicle or linked me a better resource.
