[Ajuda] 1 Erro (initialization data exceeds declared size)
#1

Erro :
pawn Код:
C:\Users\Leandro\Desktop\TUT.pwn(8) : error 018: initialization data exceeds declared size
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Comando completo :

pawn Код:
new Float:GalsTeleport[3][3] =
{
{1911.9089,-2296.0752,13.5469,263.6957}, // erro
{1908.9016,-2327.6499,13.5469,263.6957},
{1909.1213,-2350.7175,13.5469,263.6957}
};

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/tele", cmdtext, true, 10) == 0)
{
new rand = random(sizeof(GalsTeleport));
SetPlayerPos(playerid,GalsTeleport[rand][0],GalsTeleport[rand][1],GalsTeleport[rand][2]);
}
return 1;
}
Reply


Messages In This Thread
1 Erro (initialization data exceeds declared size) - by LE4NDrO - 14.06.2014, 17:51
Re: 1 Erro - by focaximubh - 14.06.2014, 17:56
Re: 1 Erro - by Krisky_ - 14.06.2014, 17:58
Re: 1 Erro - by LE4NDrO - 14.06.2014, 18:05
Re: 1 Erro - by focaximubh - 14.06.2014, 18:14

Forum Jump:


Users browsing this thread: 1 Guest(s)