SA-MP Forums Archive
how i do it in samp - 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)
+--- Thread: how i do it in samp (/showthread.php?tid=566936)



how i do it in samp - Kuroki - 09.03.2015

hi guys i want do in samp load marker from .mta corona and do it how on video
https://www.youtube.com/watch?v=ZxA866rMHsQ
please help me


AW: how i do it in samp - Kaliber - 09.03.2015

What do you want to do?

The pickup?
The automatic jump?
...what?!


Re: how i do it in samp - Kuroki - 09.03.2015

automatic jump
after loaded map dd/dm


AW: Re: how i do it in samp - Kaliber - 09.03.2015

Quote:
Originally Posted by Kuroki
Посмотреть сообщение
automatic jump
You can do it with SetVehicleVelocity

Here you have an example:

Код:
//OnPlayerEnterPickup
new Float:p[3],v=GetPlayerVehicleID(playerid);
GetVehicleVelocity(v,p[0],p[1],p[2]);
SetVehicleVelocity(v,p[0],p[1],p[2]+2.0);
Greekz