
Ace_Gambit
Members-
Posts
569 -
Joined
-
Last visited
Everything posted by Ace_Gambit
-
LOL, are you crazy?! I am not going to make a browser implementation for MTA! I am working on a SMTP module to allow in-game e-mail services (which is about done by now). But I don't want to release it as it is part of a game-mode I'm working on. I am looking at the possibilities of developing a module using Google API. This would allow people to request basic search results. But this is just a concept in my mind, nothing concrete atm.
-
You are creating a table named table which is a reserved word in many SQL languages. Maybe that is why you get a syntax error. Why would you name a table table anyway? Try to give it a more descriptive name (e.g. player).
-
Wanting to open a Freeroam:DM server. Need some advice.
Ace_Gambit replied to Valli's question in Client
You shouldn't have to worry about extracting files. MTA takes care of that. Just find the resources folder in your Deathmatch installation folder and copy the resource archive there. -
You have a typo in your code because source is not the player element but the marker that got hit.
-
LOL. Isn't it easier to just remove or disable the feature that does not allow people without serial to join?
-
You are probably using the function in a server script.
-
If you want to spawn in interior you need the interior ID and position. If I wanted to spawn inside Jizzy's Pleasure Domes for example the spawn parameters would be as follows: ID = 3 X = -2636.7190 Y = 1402.9170 Z = 906.4609 spawnPlayer(source, -2636.7190, 1402.9170, 906.4609, 0, 0, 3, 0, nil) In case you don't want to spawn but rather "teleport" to the location use setElementInterior. setElementInterior(source, 3, -2636.7190, 1402.9170, 906.4609)
-
Well, that shouldn't be too hard to figure out because the engine starts running when a player takes place in the driver seat. All you have to do is check if there's someone in the driver seat. There's also a function getVehicleEngineState which is probably a better alternative. But my question is, why isn't onVehicleRespawn working?
-
Actually there is. The moveObject function has three optional arguments controlling relative rotation over all axis.
-
The SQLite interface is buggy. I've noticed that sometimes tables aren't created (resulting in a database query failure) and sometimes they are. It's weird. And the functions always return true, even when they fail.
-
In all its simplicity (it couldn't be more basic). function spawn(playerSource, command, posX, posY, posZ) spawnPlayer(playerSource, tonumber(posX), tonumber(posY), tonumber(posZ)) end addCommandHandler("/spawn", spawn) Usage: /spawn 0 0 5 Spawns player at the origin some units above land.
-
I am not sure if this is helpful, but I am using the resource as initiator and it works fine.
-
In programming terms nil usually (but not always) means uninitialized and is also referred to as null pointer (when speaking of object references).
-
I can't comment on that one because I don't have knowledge of hooking SCM functions.
-
Are you sure that isn't obfuscation instead of encryption? Anyway, I don't see the problem of having client-side script readable to others. What could possibly be so sensitive that clients are not allowed to view?
-
No. MTA can not remove objects that are part of the San Andreas world. Not in this version and not in the versions ahead.
-
Too bad San Andreas Studios isn't working in MTA.
-
That is correct. DP3 does have a client side equivalent but in DP2 you will have to create an additional client sided collision shape.
-
Markers have their own server side call back events: http://development.mtasa.com/index.php? ... nMarkerHit http://development.mtasa.com/index.php? ... arkerLeave
-
I have MTA Race on my laptop to look up objects. I don't use any DM object browsers.
-
Why do you have to wait for DP3? You can already "add" custom objects. viewtopic.php?f=16&t=22300&start=15&st=0&sk=t&sd=a
-
It was in the "Special Object" package posted a few months ago that was not included in the original MTA object list. Maybe that's why you couldn't find it.
-
Concerning pickups there already are call back events. http://development.mtasa.com/index.php? ... kup_events
-
This is what I used. http://www.euclideanspace.com/maths/alg ... /index.htm