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=271069)
help -
omer5198 - 22.07.2011
i want to change an NRG speed and make it WAY faster... like VERY fast... i want it to be faster then Hydra...
how can i do that!??!!? i tried with SetVehicleVelocity... but it didn't work... please help
Re: help -
MoroDan - 22.07.2011
Quote:
Originally Posted by omer5198
i want to change an NRG speed and make it WAY faster... like VERY fast... i want it to be faster then Hydra...
how can i do that!??!!? i tried with SetVehicleVelocity... but it didn't work... please help
|
https://sampforum.blast.hk/showthread.php?tid=179089
Re: help -
omer5198 - 22.07.2011
i didn't realy understand that.. can you explain to me or give me something easier?
Re: help -
omer5198 - 22.07.2011
bump
Re: help -
MoroDan - 22.07.2011
Quote:
Originally Posted by omer5198
i didn't realy understand that.. can you explain to me or give me something easier?
|
Код:
You can, for example, slow down the hydra or make fast boats.. not so fast.
pawn Код:
public OnPlayerEnterVehicle( playerid, vehicleid, ispassenger )
{
new modelid = GetVehicleModel( vehicleid );
if ( modelid == 522 ) // 522 - NRG-500
SetPlayerSpeedCap( playerid, 0.4 );
else
DisablePlayerSpeedCap( playerid );
}