Hell_Demon
-
Posts
18 -
Joined
-
Last visited
Posts posted by Hell_Demon
-
-
Spawn the car first, and after its spawned and visible replace the model, then you'll enter in the driver seat instead of in the middle.
And it will fix texture issues too.
-
i dont think people will go 'omg i will never join this server again! the car/player spawned 0.00001 cm to far to the right'
-
I thought the multiple returns in lua meant more then 1 return after eachoter meh didnt know it needed to be on 1 line
-
function getXYInFrontOfPlayer( distance ) local x,y,z = getElementPosition( getLocalPlayer() ) local rotation = getPlayerRotation( getLocalPlayer() ) rotation = rotation/180*3.141592 x = x + ( math.sin(rotation) * distance ) y = y + ( math.cos(rotation) * distance ) return x, y end
I didn't test this because I dont have MTA installed at the moment, its a conversion from GetXYInFrontOfPlayer on sa-mp.
If there are problems post them here
-
Very nice
-
Oh yah forgot that it was different from a normal hydroulic jump.
I think setElementVelocity would work
I sumhow cant do cabbie jumps, I do exectly the same as in those movies, but my cabby starts rolling on the wall when i press the buttons
-
Add nitro and hydroulics to taxi o.0
addVehicleUpgrade(vehicleid, upgrade);
you can find the upgrades here:
-
Do you try to make it on the F11 map? Or another map? for F11 map you can use createBlipAttachedToElement or sth.
-
This is because mtabeta.com stuff is offline, so the installer cant give you a serial.
Youll have to wait for mtabeta.com to get back online, or untill dp3 is released(fixed installer) like me
-
Mabako would you mind if I use your cellphone image for a script I am going to make?
-
Install instructions:
3. Restart your server if its on.
You can also type /refresh in game( if you are logged in as admin) or type refresh in console(Reloads all resources)
-
getElementPosition the element it hitted
offsetx=elementx-hitx
offsety=elementy-hity
offsetz=elementz-hitz
then you set XYZ of corona to elementz+offsetx
-
When will the linux generic dp2 server be released?
Did someone forget to upload? Or isnt it finished yet?
-
Very nice
-
function change() txd = engineLoadTXD ( "models/monster.txd" ) engineImportTXD ( admiral, 3781 ) dff = engineLoadDFF ( "models/monster.dff", 0 ) engineReplaceModel ( admiral, 3781 ) end addCommandHandler ( "setcashe", change )
You had function change which needs to be function change()
-
You could work around this by setting the model of the banshee to a model you dont use i think.
-
I have been replacing the infernus with a porsche carrera GT, this is what i found:
The custom model looks weird when you apply it before spawning the vehicle.
The custom model looks as it should look if you spawned the vehicle before applying the model.
Your character sits on vehicle seat 1 when you enter the car if you spawned it before applying the model.
If you spawn a second vehicle (with model already applied) the custom model looks as it should look but when you get into it, your character will sit in the center of the car.
So its like this:
*spawn vehicle 1*
*Apply custom model, everything is fine*
*spawn vehicle 2*
*custom model is fine, but character sits in center of vehicle*
This is when you apply model before spawning vehicle:
This is how it looks if you apply model after spawning the vehicle:
MTA:DM and Controller?
in Suggestions
Posted
I think you can force MTA to use the controller
in singleplayer the addresses for this are:
0xBA6818 - Controller Configuration [byte] values:
* 0 = Mouse+Keys
* 1 = Joypad
0xB6EC2E - REAL aiming mode offset, not menu.
* 0 = joypad
* 1 = mouse + keys
Set both of those adresses to the value of joypad and it should use joypad
I didnt test it because I dont have a joypad, so use something like cheatengine or TSearch to set those values.