SA-MP Forums Archive
Disable Vehicle Weapons - 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: Disable Vehicle Weapons (/showthread.php?tid=63892)



Disable Vehicle Weapons - smallo - 01.02.2009

Wondering if it would be possible to disable the guns on the rustler or the hydra and seasparrow and stuff?


Re: Disable Vehicle Weapons - AlExAlExAlEx - 01.02.2009

yea..i know a server that did that.


Re: Disable Vehicle Weapons - smallo - 01.02.2009

does anyone know what code i would need?


Re: Disable Vehicle Weapons - ICECOLDKILLAK8 - 01.02.2009

the only way i could think of would be to freeze for half a second everytime they press fire and they are in that vehicle


Re: Disable Vehicle Weapons - smallo - 01.02.2009

hmmm wouldn't that make the vehicle jump around a little?




Re: Disable Vehicle Weapons - ICECOLDKILLAK8 - 01.02.2009

it would a little bit, but that is the only way i can think of doing it


Re: Disable Vehicle Weapons - smallo - 01.02.2009

maybe disabling that key while in that particular vehicle if its possible.


Re: Disable Vehicle Weapons - AlExAlExAlEx - 01.02.2009

NO! , that server was a great idea was like that
Slap
Freeze 30 seconds
Message "Don't use that gun"
Unfreeze(30 secs passed)
Message "NEXT TIME IS A BAN"
if you do again
ban(playerid);


Re: Disable Vehicle Weapons - smallo - 01.02.2009

Quote:
Originally Posted by AlExAlExAlEx
NO! , that server was a great idea was like that
Slap
Freeze 30 seconds
Message "Don't use that gun"
Unfreeze(30 secs passed)
Message "NEXT TIME IS A BAN"
if you do again
ban(playerid);
hmmm sounds good, warning system. could u help me with the code?


Re: Disable Vehicle Weapons - Nimphious - 01.02.2009

Quote:
Originally Posted by [DRuG
Smallo ]
Wondering if it would be possible to disable the guns on the rustler or the hydra and seasparrow and stuff?
Sounds like an idea, Ask dabomber he should have a clue about it. Or killfrenzy