SA-MP Forums Archive
How To Create CMD:createvehicle? - 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 Create CMD:createvehicle? (/showthread.php?tid=580325)



How To Create CMD:createvehicle? - OnelifeGaming - 04.07.2015

Hi How to Create Commands Createvehicle How?
I Want to Make After I / createvehicle stored in vehicle.txt and / createvehicle its kind this (/ createvehicle [ID VEH] [Cost] [Color])
Code stored in vehicle.txt With It (MembuatKendaraan (VehicleModel, Float: X, Float: Y, Float: Z, Float: angle, Colour1, Colour2, Cost))


SorryForMyBadEnglish


Re: How To Create CMD:createvehicle? - Macluawn - 04.07.2015

Lets start off by showing us what you've already done.


Re: How To Create CMD:createvehicle? - dominik523 - 04.07.2015

Use ZCMD and sscanf2 to make the command.
You will also want to use this:
https://sampwiki.blast.hk/wiki/Fwrite