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



vehicle format - NewbBeginner - 09.02.2011

i have codes:


new taxi[MAX_PLAYERS];
taxi[playerid] = CreateVehicle

How to do format like format(taxi[playerid][vehiclegas], MAX_VEHICLES, "%d", 100);


how to make something like that, because this format doesn't work


Re: vehicle format - iJumbo - 09.02.2011

you mean make a enum?


Re: vehicle format - NewbBeginner - 09.02.2011

I have enum already.

enum vInfo
{
vehiclegas...

I just want to create a car, and then add this gas to vehicle