[FilterScript] Submarine scripts. - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Submarine scripts. (
/showthread.php?tid=505264)
Submarine scripts. -
KaLu17 - 07.04.2014
Re: Submarine scripts. -
TonyII - 07.04.2014
The idea is nice, I released a similar script like this a while ago. If the submarine wont be able to get underwater its pretty much useless in my opinion
Re: Submarine scripts. -
KaLu17 - 07.04.2014
That's right. But it is useful for servers of a war.
Re: Submarine scripts. -
VerticalGaming - 07.04.2014
Use LinkVehicleToInterior(vehicleid, 1);
DONT LINK THE PLAYER, Only vehicle!
The vehicle will be invisble.
Make the submarine go underwater with NUMPAD8; go up. (check if Z = around 0.0, so he cant fly
Make it go low with NUMPAD2 .. till -5z or something...
Fair enough :S
Re: Submarine scripts. -
KaLu17 - 07.04.2014
Quote:
Use LinkVehicleToInterior(vehicleid, 1);
DONT LINK THE PLAYER, Only vehicle!
|
It's just a calculation:
Код:
LinkVehicleToInterior(submarine, (submarine * MAX_PLAYERS));
Of course you can use:
Код:
LinkVehicleToInterior(submarine, 1);