SA-MP Forums Archive
help - 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: help (/showthread.php?tid=65870)



- - ReV. - 17.02.2009

----


Re: help - Daren_Jacobson - 17.02.2009

use OnPlayerEnter(Race)Checkpoint,
DestroyVehicle,
CreateVehicle
PutPlayerInVehicle (is that what it is called?)


those should do it.


Re: help - ReV. - 17.02.2009

Quote:
Originally Posted by Daren_Jacobson
use OnPlayerEnter(Race)Checkpoint,
DestroyVehicle,
CreateVehicle
PutPlayerInVehicle (is that what it is called?)


those should do it.
i need an example of it





Re: help - Daren_Jacobson - 17.02.2009

coded in reply box
pawn Код:
public OnPlayerEnterCheckpoint(playerid)
{
new vid, Float:x, Float:y, Float:z, model;
vid = GetPlayerVehicleID(playerid);
GetVehiclePos(vid, x, y, z)

DestroyVehicle(vid)
vid = CreateVehicle(451, x, y, z, -1, -1, 60000)//is that right?
PutPlayerInVehicle(playerid, vid, 0);
}
of course that would always set it to model 451 and doesn't do any checks, but it is an example.




Re: help - decayer - 17.02.2009

Hunter heres an idea. Search! Shesh stop asking and just search.


Re: help - Daren_Jacobson - 17.02.2009

hmm deja vu, never tell anybody to search if they already made a thread, yes, maybe they should have searched, but it is too late now, so just don't post.


Re: help - brett7 - 17.02.2009

i like your idea hunter we need a setplayervelocity function because at the moment the car speed will be reduced to 0 after the change


Re: help - Daren_Jacobson - 17.02.2009

it is like that on mta...


Re: help - ReV. - 17.02.2009

Quote:
Originally Posted by decayer
Hunter heres an idea. Search! Shesh stop asking and just search.
god damn why make such a fuss.

i bet theres no topic in the forum with this topic that i made


Re: help - 1337pr0 - 17.02.2009

Quote:
Originally Posted by [Hunter
]
Quote:
Originally Posted by decayer
Hunter heres an idea. Search! Shesh stop asking and just search.
i bet theres no topic in the forum with this topic that i made
And I bet there's no topic in the forum with someone asking how to put an animated king kong and big foot in a pretty villa west of las venturas either, but we don't post about it, because it's silly, and if it is possible, you'll be able to find it on the forum.

P.S, no, you can't put king kong or big foot in your game.

I hate being off topic, but he has got a point

Browse the wiki, Daren_Jacobson named all the functions you will need, so it should be easy to find what you're looking for