SA-MP Forums Archive
Objects Problem (Maybe)? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Objects Problem (Maybe)? (/showthread.php?tid=155384)



Objects Problem (Maybe)? - !CryWolf - 18.06.2010

Hey all,
I have created a Bounce Jump, and at the end there is an orange balls (that in every server it pushes me up).
but in my server, when I hit it with a car nothing happenes (no car flying), the object with no "effect".
what to do?



Re: Objects Problem (Maybe)? - DJDhan - 18.06.2010

You can use IsPlayerInRangeOfPoint to see if the player is very close or is about to hit the object and then use SetVehicleVelocity to increase "z" speed which will make him jump.


Re: Objects Problem (Maybe)? - TheInnocentOne - 18.06.2010

Are you using an object streamer?



Re: Objects Problem (Maybe)? - !CryWolf - 19.06.2010

No.



Re: Objects Problem (Maybe)? - !CryWolf - 19.06.2010

Quote:
Originally Posted by ·!¦[·H.P·
¦!· ]
They are fliped wrongly..
How I should put them?


Re: Objects Problem (Maybe)? - DJDhan - 19.06.2010

Am I talking to the walls? The orange balls are not, by default, going to make you jump. Do you even have the code to make anything jump when it hits the orange balls?


Re: Objects Problem (Maybe)? - !CryWolf - 20.06.2010

Quote:
Originally Posted by DJDhan
Am I talking to the walls? The orange balls are not, by default, going to make you jump. Do you even have the code to make anything jump when it hits the orange balls?
Do you mean making it with IsPlayerInRangeOfPoint & SetPlayerVelocity? I don't think so.
I'm sure that this object is doing the job.



Re: Objects Problem (Maybe)? - !CryWolf - 20.06.2010

someone?


Re: Objects Problem (Maybe)? - Hiddos - 20.06.2010

Quote:
Originally Posted by DJDhan
Am I talking to the walls? The orange balls are not, by default, going to make you jump. Do you even have the code to make anything jump when it hits the orange balls?
lolololol

How'd they do it in 0.2 then ^^