SA-MP Forums Archive
Command /spawncar [carID] [color1] [color2] - 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: Command /spawncar [carID] [color1] [color2] (/showthread.php?tid=655027)



Command /spawncar [carID] [color1] [color2] - AlexuTzuBss - 11.06.2018

How can I create command /spawncar?
Can help me with some variables or something


Re: Command /spawncar [carID] [color1] [color2] - Hunud - 11.06.2018

Try this: https://sampforum.blast.hk/showthread.php?tid=346727


Re: Command /spawncar [carID] [color1] [color2] - AlexuTzuBss - 11.06.2018

Ok, but I have errors : error 017: undefined symbol "pInfo" and error 009: invalid array size (negative, zero or out of bounds) on line : new PlayerInfo[MAX_PLAYERS][pInfo];

And error 036: empty statement on : if(strfind(VehicleNames[i], vname, true) != -1);

I try to fix but idk I can


Re: Command /spawncar [carID] [color1] [color2] - GTLS - 12.06.2018

You dont need a whole script for creating a car spawn command, damn.

Just use this: https://sampwiki.blast.hk/wiki/CreateVehicle

inside your command.