Spawn errors
#1

i add new spawn.gave me errors.

Код:
(692) : warning 227: more initiallers than enum fields
warning 227: more initiallers than enum fields
error 018: initialization data exceeds declared size
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
Код:
// Setup spawnlocations for each class (when selecting "Spawn" at class-selection, a random spawnlocation is selected)
new ASpawnLocationsTrucker[][TSpawnLocation] =
{
	{1787.9606,-2024.6791,13.4815,176.2519,0,0}, // El Corona Depot
};
Код:
AddPlayerClass(161,1787.9606,-2024.6791,13.4815,176.2519,0,0,0,0,0,0); //
Reply
#2

Warning says everything, show enum TSpawnLocation
Shoulde be {X,Y,Z,A} i think
Reply
#3

Quote:
Originally Posted by Jefff
Посмотреть сообщение
Warning says everything, show enum TSpawnLocation
Shoulde be {X,Y,Z,A} i think
i try that...
Reply
#4

Which one is the one with the errors. AddPlayerClass or The ASpawnLocationsTrucker?
Reply
#5

ASpawnLocationsTrucker
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)