Freeze Vehicle - 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: Freeze Vehicle (
/showthread.php?tid=73106)
Freeze Vehicle -
Trooper[Y] - 12.04.2009
Is it possible to freeze a vehicle at a position (so if the Player get kicked from Vehicle using
Код:
RemovePlayerFromVehicle(playerid);
, the Plane remains at the Position) ?
getting Koords i think isn`t a problem, so if theres something like
Код:
FreezeVehicle[X,Y,Z,Angle]
i would be very happy.
[spoiler]If not possible, is it possible to freeze a driver (possible,i know) in a Chopter ,
but he automaticly stay at the poisition ?[/spoiler]
Re: Freeze Vehicle -
Trooper[Y] - 12.04.2009
No1 an idea?
Whats about deleting the old vehicle, and creating a flying new one ?
Re: Freeze Vehicle -
Klutty - 12.04.2009
pawn Код:
TogglePlayerControllable(playerid, false);
I guess..?
Re: Freeze Vehicle -
Trooper[Y] - 12.04.2009
Then the Chopter and the Player will freeze and if the Player get removed, the Chopter will fly down to the earth...
Re: Freeze Vehicle -
MWP - 22.01.2011
Trooper, you have to Set the Position from the Vehicle every Second or more to the old position who you have freeze it, save it in a Enumerator or something else. But this is not freezing really, but the best what you can do.
ZKX!
Re: Freeze Vehicle -
playbox12 - 22.01.2011
Quote:
Originally Posted by MWP
Trooper, you have to Set the Position from the Vehicle every Second or more to the old position who you have freeze it, save it in a Enumerator or something else. But this is not freezing really, but the best what you can do.
ZKX!
|
Have you even looked at the date, on where the question was posted? 2009! its 2011 now!
I think he figured it out in over a year.
(Also an enum is just a list with variables, you store it in a variable, or an array not in en enum..)
Re: Freeze Vehicle -
blackwave - 22.01.2011
Quote:
Originally Posted by playbox12
Have you even looked at the date, on where the question was posted? 2009! its 2011 now!
I think he figured it out in over a year.
(Also an enum is just a list with variables, you store it in a variable, or an array not in en enum..)
|
lmao, I kept laughing over 2minutes
Re: Freeze Vehicle -
Iphone1234g - 06.06.2011
haahahha