SA-MP Forums Archive
Destroy a car 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Destroy a car when NO-ONE is in it! (/showthread.php?tid=215688)



Destroy a car when NO-ONE is in it! - ricardo178 - 23.01.2011

Hello guys, i have a question... SA-MP have a really non-rp think! You only can explode a vehicle if someone in it!
Is it possible to make some script/include that you can destroy the car without No-One in it? It should be really nice!


Re: Destroy a car when NO-ONE is in it! - randomkid88 - 24.01.2011

If by "destroy" you mean explode, you could create an explosion at the vehicle's position.

Look at CreateExplosion


Re: Destroy a car when NO-ONE is in it! - Antonio [G-RP] - 24.01.2011

Quote:
Originally Posted by randomkid88
Посмотреть сообщение
If by "destroy" you mean explode, you could create an explosion at the vehicle's position.

Look at CreateExplosion
/facepalm

By "Destroy" he means DestroyVehicle(vehicleid); ....

Think BEFORE you post.


Re: Destroy a car when NO-ONE is in it! - The_Moddler - 24.01.2011

This --> https://sampforum.blast.hk/showthread.php?tid=187259 ??


Re: Destroy a car when NO-ONE is in it! - randomkid88 - 24.01.2011

Quote:
Originally Posted by Antonio [G-RP]
Посмотреть сообщение
/facepalm

By "Destroy" he means DestroyVehicle(vehicleid); ....
I'm not stupid, he said "explode" in his original post. I am well aware of DestroyVehicle. Hence I said "If you mean explode".

Quote:
Originally Posted by Antonio [G-RP]
Посмотреть сообщение
Think BEFORE you post.



Re: Destroy a car when NO-ONE is in it! - Antonio [G-RP] - 24.01.2011

Quote:
Originally Posted by randomkid88
Посмотреть сообщение
I'm not stupid, he said "explode" in his original post. I am well aware of DestroyVehicle. Hence I said "If you mean explode".
Oh, your a real smart ass. Maybe, if I would have SEEN his original post, I would have said otherwise. If I really wanted my own quote, I would have asked you for it. Nobody needs you here to argue, I was correcting your point. If you aren't going to be any help, just leave, and go trollin' elsewhere.


Re: Destroy a car when NO-ONE is in it! - randomkid88 - 24.01.2011

I'm not trying to start an argument, but why would you post something in a topic without reading what the person is trying to get help with? This makes you seem like the "troll" and quoting me after telling me not to quote you doesn't make sense either.

Enough said on the topic.


Re: Destroy a car when NO-ONE is in it! - ricardo178 - 24.01.2011

Hey hey, calm down guys please!

I didn't explain good, i mean if it is possible like in single player, we shoot a car without no-one in it and it get damaged/explode like RL and Like Single player! Only don't like that if no-one is in the car the car is indistritible!


Re: Destroy a car when NO-ONE is in it! - iggy1 - 24.01.2011

Look in the filterscript section there is a vehicle damage FS or it might be an include not sure but its out there.

If you wana do it yourself you would need to check if a player is aiming at a vehicle and using key fire (whilst holding a weapon) and lower the vehicles health.


Re: Destroy a car when NO-ONE is in it! - The_Moddler - 24.01.2011

Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
Quote:
Originally Posted by The_Moddler
Посмотреть сообщение
READ!