speed - 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: speed (
/showthread.php?tid=68766)
speed -
Kanji_Suzuki - 13.03.2009
is there a way to make a max veh speed?
Re: speed -
MenaceX^ - 13.03.2009
/ban.
Re: speed -
ICECOLDKILLAK8 - 13.03.2009
Wait for SetPlayerVelocity in 0.3
Re: speed -
MenaceX^ - 13.03.2009
Huh?
Re: speed -
ICECOLDKILLAK8 - 13.03.2009
With 0.3 do something like
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == w/e)
{
if(GetPlayerVelocity(playerid) == w/e)
{
SetPlayerVelocity(playerid, w/e);
}
}
Re: speed -
Kanji_Suzuki - 13.03.2009
Quote:
Originally Posted by MenaceX^
Huh?
|
i mean like so all the cars in the script cant go over like 50mph
Re: speed -
Kanji_Suzuki - 13.03.2009
will there be a
SetMaxVelocity(playerid,w/e);
??
Re: speed -
MenaceX^ - 13.03.2009
Quote:
Originally Posted by JeNkStAX
With 0.3 do something like
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == w/e) { if(GetPlayerVelocity(playerid) == w/e) { SetPlayerVelocity(playerid, w/e); } }
|
How are you so sure about that?
Re: speed -
Kanji_Suzuki - 13.03.2009
Quote:
Originally Posted by MenaceX^
Quote:
Originally Posted by JeNkStAX
With 0.3 do something like
pawn Код:
if(GetVehicleModel(GetPlayerVehicleID(playerid)) == w/e) { if(GetPlayerVelocity(playerid) == w/e) { SetPlayerVelocity(playerid, w/e); } }
|
How are you so sure about that?
|
when 0.3 comes out will there be a list of all the new codes like this/?