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



vehicles problems - d0mce - 08.06.2011

Hello everyone, encountered the problem. When I upload cars in to vehicle.txt, i see more eror.. WTF?

Код:
data/vehicles.txt(674) : warning 202: number of arguments does not match definition
data/vehicles.txt(675) : warning 202: number of arguments does not match definition
data/vehicles.txt(676) : warning 202: number of arguments does not match definition
data/vehicles.txt(677) : warning 202: number of arguments does not match definition
data/vehicles.txt(678) : warning 202: number of arguments does not match definition
my line were taken with /save command
See:

Код:
Vehicle(545,1796.6368,-1903.6847,13.2127,0.7053,82,82,60); // VM
Vehicle(545,1791.8781,-1903.8615,13.2359,1.0479,82,82,60); // VM
Vehicle(545,1787.4351,-1903.9268,13.2008,357.0420,82,82,60); // VM
Vehicle(545,1783.1357,-1903.8066,13.2027,354.9636,82,82,60); // VM
Vehicle(545,1778.7150,-1903.8536,13.1994,0.4810,82,82,60); // VM
What's the problem? Tested at AddStaticVehicle , AddStaticVehicleEx, StaticVehicle.. Eror.s..


Re: vehicles problems - clavador - 08.06.2011

What is vehicle?

It should be CreateVehicle.


Re: vehicles problems - d0mce - 08.06.2011

Vehicle is :
https://sampwiki.blast.hk/wiki/Vehicle_Model_ID_List
//
Vehicle ID: 545
Vehicle Name: Hustler.

When i make AddStaticVehicle machines are not visible


Re: vehicles problems - BaubaS - 08.06.2011

Show me your "Vehicle" function, because as I see its not default..

Also, wtf?

82,82,60

Should not be 82,60?


Re: vehicles problems - Amel_PAtomAXx - 08.06.2011

Quote:
Originally Posted by BaubaS
Посмотреть сообщение
82,82,60

Should not be 82,60?
82,82 is the vehicle color and 60 is the respawn time