-
Posts
1,031 -
Joined
-
Last visited
-
Days Won
2
Everything posted by Bonsai
-
No you can't. But depending on what you are trying to do, there are probably other ways.
-
Did you try to start the normal mta server, not the map editor, to see what happens?
-
There is a freecam resource included in MTA. Used in Map Editor.
-
I think there is a comma in the way at "weapstats=?, ". You should probably also insert the account the same way as the other arguments.
-
Yeah, and if I someone knows one of that players, and he uses the same password for his Google Account, this won't help him much. Also it doesn't make sense to bind the account to the serial at all. What if they change their computer.
-
Well that only works within a resource, not globally for all resources. If you do something like this: _createObject = createObject function createObject() --now whenever a scriptfile within that resource calls createObject this function will be used instead so you can handle things end If you still want to create the object you have to use _createObject inside there too.
-
Did you just post passwords of players from your server? That doesn't really look hashed
-
Don't you have control about the part where these things are created? Then you can simply overwrite the functions so your function will be called every time when e.g. createObject is called.
-
Hey, with MTA 1.5.3, the fileOpen function got a new "readOnly" argument. The default value is "false", as it always was. But for some reason, something is different now. I have a script that worked fine for month, but now it throws an error when opening a file that has been in use before. I noticed this on an mp3 file that is played by playSound, and later destroyed again. If I set the "readOnly" argument to "true", it works as it used to, except that I cannot modify the files anymore. (Which in this case I don't need) Nothing in my script changed except clients were updated to 1.5.3. Is this possibly a bug? Bonsai
-
If the MTA devs, or anyone else who works for free in his own time on a community project, would think in the same way, that would be pretty bad. Of course people can make stuff exclusivly for their own communities or servers, but thats not a behaviour that should be encouraged or seen as anything else than "selfish" (not meant in a bad way, but after all its done for themselfs and their own profit). With the success of DayZ, MTA could have been famous for having a DayZ mod long ago, if it would have been open source (not sure when it became that). Same for Rocket League and CarBall in MTA. Lost potential for MTA as a whole because some people put themselfs above everything else.
-
You really should release this so we can have some Vice City servers in out there. Having this project discontinued after such big progress doesn't make much sense. If it ends up being open source other people can use it for their servers which might give MTA a little boost. I'm not a fan of "closed" source projects that are only used by a few people on one single server while MTA itself is open source.
-
My MTA never crashes. Maybe its you? Also, if you still use Windows XP and no anti virus software, get off the Internet immediately. Actually, don't even turn on your computer anymore.
-
Did anyone ever try to find out how that big screen in the LS Stadium works? It shows the player from a different position, so there maybe is some actual second camera stuff going on.
-
You can edit your messages after you sent them? I don't think so.
-
The weather and time is not loaded from maps meta file. You can try to add this in the mapmanager files. Server: elseif metaXMLName == "settings" then for i, node in pairs(xmlNodeGetChildren(m)) do MapTable.mapData.settings[xmlNodeGetAttribute(node, "name")] = xmlNodeGetAttribute(node, "value") end end Client: if mapTable.settings["#time"] then local hour = string.match(mapTable.settings["#time"], "%d+") mapTable.settings["#time"] = string.reverse(mapTable.settings["#time"]) local minute = string.match(mapTable.settings["#time"], "%d+") if hour and minute then setTime(hour, minute) end end if mapTable.settings["#weather"] then local weather = string.match(mapTable.settings["#weather"], "%d+") if weather then setWeather(weather) end end
-
I don't think you can get the current progress when using downloadFile function. If you see servers with a custom downloadbar, they mostly use triggerLatentClientEvent to send data to the client. And since you can get the state of a latent event handle, you always know how much % of the download is done.
-
console Is there a way to Force a player to disconnect or quit?
Bonsai replied to Lord Henry's topic in Scripting
You could make people appear as "timed out" by crashing their MTA on purpose. -
Too many people have editted their original post in the scripting section after they got the solution, which makes it impossible for other people with a similar problem to understand the conversation in that topic. Hope this won't be possible again.
- 13 replies
-
- mta forums
- forums
-
(and 2 more)
Tagged with:
-
Usually that means there is already something using that port. In this case probably another mta server.
- 64 replies
-
- awesomeness
- mtasa 1.5.3
-
(and 4 more)
Tagged with:
-
I'm talking about this: " Available client side from 1.3.1 (It will only work with client side vehicles and peds) " A player element (not a ped) is a serverside element. Therefore I need to create the vehicles serverside to be able to warp a player into it. And that is unnecessary since the vehicle doesn't need to exist on the server.
- 8 replies
-
- warppedintovehicle
- player
-
(and 1 more)
Tagged with:
-
Yes, but thats okay. Thats actually what I want. There is no need to sync it between players, and make sure it doesn't keep existing on the server forever. Only the local player needs it.
- 8 replies
-
- warppedintovehicle
- player
-
(and 1 more)
Tagged with:
-
Hey, I want to move some parts of my script to be completly clientside as it doesn't need to be serverside. So instead of creating a vehicle on the server, I thought about creating it on the client. But warpPedIntoVehicle does not allow to warp the player, who is a serverside element, into the clientside vehicle. Therefore I need to trigger a server event just to create the vehicle and warp the player into it, even though the server has nothing much to do with it. Since its a race gamemode, the player cannot just enter the vehicle manually. Does anyone know a workaround for this problem? Bonsai
- 8 replies
-
- warppedintovehicle
- player
-
(and 1 more)
Tagged with: