-
Posts
1,131 -
Joined
-
Last visited
-
Days Won
2
Everything posted by MIKI785
-
Nope, the last edit was back in 2015 It doesn't matter, what matters is that it works now.
-
The code on the wiki is fine actually, you added some extra bits that stopped it from working, you added conditions that could never pass.
-
Do other servers work for you?
-
You said that you took it directly from the wiki, but I don't see such an example there, there are similar ones, but none exactly like what you have. Anyway, the problem is that onClientGUIClick only supports 'up' state (says so on the wiki). So in the second version (the one with the 'gui == true' removed, cause that's nonsense as well) change "down" to "up" and it should work then.
-
So you want to remove them from GTA itself? If so then this isn't the right place to ask, I don't know how to do that. I'm sure it's possible somehow though, but if you do that then you may not be able to play on many public servers or it's possible that MTA simply ignores your edited files so you won't see any change when playing MTA.
-
Not true, # can be used to get the length of a string as well. So #guiGetText(editBox) should be good enough. But either way it works the same way.. you got an error because you were trying to get the length of the edit box itself (userdata value).
-
It really doesn't show any errors/warnings? Because you can't possibly store elements (ie. teams) in account data. However, you could store the team name and then use getTeamFromName to set the team.
-
I guess there is a httpRequestLogin somewhere in the scoreboard, look for that and comment it out, restart the resource and see what that does.
-
Does the database 'david' exist?
-
You could use triggerLatentClientEvent to send the file, that will always work.
-
I don't get it, you do have it fixed in the second picture, what do you want it to look like?
-
You can't. That control is in the client itself, that's like saying that you want to change the key to open the console, you can't do that.
-
No, not a table.. just an extra argument after the scale.
-
Just read the wiki: So instead of using one number for the scale, use two. Couldn't be easier.
-
You can't. The nitro texture is global, it's not tied to vehicle elements. Hence you can't change it for only one vehicle, it's either all of them or none.
-
function Szirena(player, command) triggerClientEvent(root, "SzirenaLejatszasa", player) end addCommandHandler("szirena", Szirena) It should look like that, the first argument to triggerClientEvent is the players it's gonna trigger for, root is everyone.
-
I guess you could use onClientVehicleCollision but I think that it will trigger on any contact, even if the player runs to the vehicle and touches it. You just have to test it and maybe use the "force" parameter.
-
He means the ingame console, not the server one.
-
Then dont resize it while it's running, do it before you go into the console.
-
Well that file is missing, couldnt get simplier.
-
FTP and MySQl are two completely different things. FTP is a network protocol used for transfering files, hence the name File Transfer Protocol. So you use that to manage your server files. MySQL is a database, you use that to store any data. Just search google and you'll see. But it would be strange if a server hosting asked you to choose between FTP or MySQL, it makes no sense, they should provide both. You do need FTP to manage your server but you don't necessarily need MySQL.
-
The ports aren't open,https://nightly.multitheftauto.com/ports/?d=25.45.128.80&g=22005&h=22005&button=Submit&over18=1&nodef=1&a=1&mslist=1.
-
Well, the scripts have errors in them, you should post that in the scripting section (https://forum.multitheftauto.com/forum/71-scripting/).
-
You're missing the mta_mysql module, see here: https://wiki.multitheftauto.com/wiki/Modules/MTA-MySQL.