Command /spawncar [carID] [color1] [color2]
#1

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

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

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
Reply
#4

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)