SA-MP Forums Archive
Compilation error - 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: Compilation error (/showthread.php?tid=318210)



Compilation error - viddo - 14.02.2012

Код:
C:\Users\Viddo\Desktop\LARP 4.0\LARP 4.0 D\gamemodes\larp.pwn(23867) : warning 202: number of arguments does not match definition
C:\Users\Viddo\Desktop\LARP 4.0\LARP 4.0 D\gamemodes\larp.pwn(23868) : warning 202: number of arguments does not match definition
C:\Users\Viddo\Desktop\LARP 4.0\LARP 4.0 D\gamemodes\larp.pwn(23869) : warning 202: number of arguments does not match definition
C:\Users\Viddo\Desktop\LARP 4.0\LARP 4.0 D\gamemodes\larp.pwn(23870) : warning 202: number of arguments does not match definition
C:\Users\Viddo\Desktop\LARP 4.0\LARP 4.0 D\gamemodes\larp.pwn(23871) : warning 202: number of arguments does not match definition
C:\Users\Viddo\Desktop\LARP 4.0\LARP 4.0 D\gamemodes\larp.pwn(23872) : warning 202: number of arguments does not match definition
C:\Users\Viddo\Desktop\LARP 4.0\LARP 4.0 D\gamemodes\larp.pwn(23873) : warning 202: number of arguments does not match definition
C:\Users\Viddo\Desktop\LARP 4.0\LARP 4.0 D\gamemodes\larp.pwn(23874) : warning 202: number of arguments does not match definition
Код:
AddStaticVehicleEx(420,1803.8552,-1911.7483,13.1767,89.3691,6,6); // TAXI
	AddStaticVehicleEx(437,1706.6564,-1880.0133,13.7017,0.5801,6,0); // Bus
	AddStaticVehicleEx(437,1722.7018,-1880.5511,13.6979,359.6956,6,0); // Bus
	AddStaticVehicleEx(437,1715.1320,-1881.1707,13.6998,0.6863,6,0); // Bus
	AddStaticVehicleEx(437,1182.0233,-1816.9911,13.5318,359.5453,6,0); // Bus
	AddStaticVehicleEx(438,1777.2705,-1921.5770,13.3916,267.1679,6,0); // Taxi
	AddStaticVehicleEx(438,1777.2445,-1904.9139,13.3918,268.5575,6,0); // Taxi
	AddStaticVehicleEx(437,1173.3591,-1817.3470,13.5317,1.1591,6,0); // Bus
What is wrong here ? And another thing, When i start the server with these errors the server starts up and stops at loading objects.


Re: Compilation error - RicaNiel - 14.02.2012

Quote:

What is wrong here ? And another thing, When i start the server with these errors the server starts up and stops at loading objects.

The Respawn Delay
or you miss one


Re: Compilation error - Vince - 14.02.2012

AddStaticVehicleEx requires a respawn delay time as the last parameter. Next time, please use the wiki first if you're unsure about the number of parameters.