How to make cars recieve damage when no one is in it? - 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)
+--- Thread: How to make cars recieve damage when no one is in it? (
/showthread.php?tid=349718)
How to make cars recieve damage when no one is in it? -
cowmilker69 - 09.06.2012
Ya hi i have noticed you can't blow vehicles up unless there is someone using it. How to make it so that vehicles take damage no matter what just like in single player?
Re : How to make cars recieve damage when no one is in it? -
ricardo178 - 09.06.2012
As far as i know, it's impossible... Many people tried, but no-one succeded. xD
Re: How to make cars recieve damage when no one is in it? -
Andregood - 09.06.2012
It is possible, yet very hard to script. There are some that made similar filterscripts and I think as well plugins.
Re : Re: How to make cars recieve damage when no one is in it? -
ricardo178 - 09.06.2012
Quote:
Originally Posted by Andregood
It is possible, yet very hard to script. There are some that made similar filterscripts and I think as well plugins.
|
And aswell lag-buggeds. xD
Re: How to make cars recieve damage when no one is in it? -
milanosie - 09.06.2012
Its not impossible, and with some time I could probably make something like that,
Re: How to make cars recieve damage when no one is in it? -
JhnzRep - 09.06.2012
Quote:
Originally Posted by milanosie
Its not impossible, and with some time I could probably make something like that,
|
Well know it's possible, but it would be hella inaccurate and use a lot of UCP.
Re: How to make cars recieve damage when no one is in it? -
MP2 - 10.06.2012
Quite easy to let them stomp on un-occupied cars, but shooting is rather difficult, as you can't detect collision.
To let them stomp on them, use
GetPlayerSurfingVehicleID under OnPlayerKeyStateChange if they press KEY_FIRE and have a melee weapon. Simples.