SA-MP Forums Archive
Destroycars - 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: Destroycars (/showthread.php?tid=383880)



Destroycars - hejsan123 - 09.10.2012

Hello

can someone script a /destroycdveh beoucse my is not working, and /destroycdveh it's going to be destory a vehicle from a dealership


Re: Destroycars - judothijs - 09.10.2012

Well, could you post the code you're currently using, and then we can see and figure what's not working.
We're not a scripting-ordering-company, we don't literally make copy-pasteable scripts for you, as you won't learn anything that way.

To help you getting on the right track, we're working inside one public, and we're mainly using one function.

The public: OnPlayerCommand (May differ according to your command style)
Function we want to use: DestroyVehicle();

Posting the code would help out alot, as right now we can't really do much.