Reset Mods? - 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: Reset Mods? (
/showthread.php?tid=240526)
Reset Mods? -
Tee - 16.03.2011
I need a little help. On my server when a player buys a vehicle. The vehicles automatically gets random mods. Is there a way to make the vehicle not get modded if the player buys it?
Re: Reset Mods? -
Kitten - 16.03.2011
https://sampwiki.blast.hk/wiki/RemoveVehicleComponent
Re: Reset Mods? -
Serbish - 16.03.2011
Depends on the gamemode.
Of course you can remove the lines where it adds these mods.
Re: Reset Mods? -
Tee - 16.03.2011
Fixed: I had a funtion that would add mods to a vehicle (AddMods(vehicled)). I set it to add mods OnVehicleStreamIn that will not work and i just realized. I set it to add the mods when a player logins in. Because a vehicle streams every second?