-
Posts
1,449 -
Joined
-
Last visited
-
Days Won
32
Everything posted by DiSaMe
-
setElementPosition setElementRotation setElementVelocity setTrainDerailable onClientPreRender
-
And that will do nothing because onPlayerJoin has no parameters anyway. JR10 posted the correct script.
-
Yes, two players can play. It's like this: , but with screen split into two viewports for each player.
-
Then we also need events onPlayerTryToRebootComputer and onPlayerTryToWalkAwayFromComputer and some magical way to cancel them
-
This is the script which I made yesterday: . Inspired by Wojak's rear view mirror script
-
Well, if you're interested in object attachments to bones, you can use this resource: https://community.multitheftauto.com/index.php?p= ... ls&id=2540 . It has functions related to bone positions and rotations, including attaching function. The part which many scripters couldn't understand was bone rotations. getPedBonePositions only returns positions and not rotations. So I made the script which calculates rotations from positions of three bones.
-
SA-MP can remove GTA SA map objects, MTA isn't capable of this, though it's possible to workaround this by replacing object models with empty ones. Apart from this feature, everything possible in SA-MP is possible in MTA. Some things aren't directly available in MTA, but they can be scripted. For example, SA-MP has a function SetPlayerAttachedObject which attaches objects to player's bones. MTA has no such function. However, MTA has a function getPedBonePosition, so function for attaching objects to bones is scriptable. This requires a little bit more work, but is advantageous, as you don't have any limits (in SA-MP, maximum 10 objects can be attached) and you can do many other things you may think of (for example, ).
-
Voted and put the link on most of my MTA videos on Youtube
-
I mean, SA-MP server owners would still be able to convert maps, but they couldn't use custom model functionality and they would see what they are losing. If we do something that would not allow map converting at all, they will use the old version, so to change the situation, we need to use MTA features which SA-MP doesn't have.
-
Maybe we need to make a map editor which could be used not just to put objects, but to create new models too. Something like , but with more functionality. Then they couldn't convert maps to work properly with SA-MP, as it doesn't support custom models.
-
He doesn't want to replace texture of weapon model. He wants to change the HUD texture.
-
isObjectInACLGroup hasObjectPermissionTo
-
Those functions are only for models. If you want to replace any texture, you need to use shaders.
-
If animations aren't synced, then getPedAnimation shouldn't work server-side, as the server doesn't know what the animations are. Unless it knows but doesn't send the animation data to other players.
-
Assholes for what? Because they don't give their work away and want MTA servers to be original? If you don't have time to do something useful (learning Lua), why do you expect people to have time to do something useless (making some script, giving it away and here, another sucky resource which everyone is tired of because it's being used in every other server)?
-
Recreating the whole camera and HUD will not just make swinging and shaking camera possible, but also make them fully customizable, so other effects will be able to be done too. The only thing which cannot be made without workarounds is oxygen bar. If this was implemented, the HUD could be fully recreated. This would also increase the customizability of custom camera, as it wouldn't need to repeat the rotation of original camera when aiming the gun.
-
Yes, exactly, many scripts there suck because unoriginal servers using the same scripts are boring. Why make casino script suck as much as other scripts do? And if people need this script, why do they ask someone else to do it?
-
In such situation, I'd recreate the whole HUD. If you only want this effect and nothing else, it may be not worth doing. On the other hand, recreating the whole HUD and camera system gives you possibility to customize them in any way you want, so if you want something else besides drunkenness effect, recreating them will probably be useful.
-
OK... Maybe I was wrong about this. It's a long time since I tested that, after all. I could do some test again and see how it looks.
-
And you checked what control states were on your side? It's obvious that vehicle will drive if it's moving for syncer because the velocity and position are synced, but what about the controls? Did you hear the vehicle accelerating, did you see the wheels turning whenever the ped was doing the turn?
-
If SA-MP players say SA-MP is better, I wonder, why they use MTA source? But still, this fails because SA-MP still cannot import models and needs external programs to do the job. I don't want to sound like a fanboy, nor I want to turn this topic into MTA vs SA-MP, but I find it hard to believe that many people don't open their eyes to see the obvious fact: MTA is better.
-
It's not the same. A few displaced labels give the border the same width in all places, while one scaled label makes the border thinner near the center. Sometimes the difference may be small enough, but my way is more universal.
-
In the same way I wrote: DRAW A FEW LABELS WITH SOME OFFSET.