[problema] Respawn dos players -
seykan - 28.11.2010
bom to com um problema, eu to tentando muda os respwn dos player do GM "lvdm" do ajax q ja vem na pasta do server
mas ta dando o seguite erro
Код:
C:\Documents and Settings\Cliente\Desktop\GTA\Server\gamemodes\lvdm.pwn(37) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Cliente\Desktop\GTA\Server\gamemodes\lvdm.pwn(37) : error 008: must be a constant expression; assumed zero
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
2 Errors.
essa й a linha:
pawn Код:
new Float:gRandomPlayerSpawns[23][3] = {
{2024.4786,1351.1939,11.1056},
{2106.8168,1385.4200,10.9730},
{2103.6337,989.39129,11.8158},
{2148.1616,832.49597,14.6996},
{1917.8604,962.31542,11.8742},
};
eu estou suspeitando desses numeros "[23][3]"
pq eu mudo o 23 e o 3 para 5
o erro muda
q eh esse
Код:
C:\Documents and Settings\Cliente\Desktop\GTA\Server\gamemodes\lvdm.pwn(36) : error 018: initialization data exceeds declared size
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
e fica assim no pawn
pawn Код:
new Float:gRandomPlayerSpawns[5][5] = {
{2024.4786,1351.1939,11.1056},
{2106.8168,1385.4200,10.9730},
{2103.6337,989.39129,11.8158},
{2148.1616,832.49597,14.6996},
{1917.8604,962.31542,11.8742},
};
tem como me ajudar?
Re: [problema] Respawn dos players -
Gustavob - 28.11.2010
nгo coloque virgula no ultimo valor
pawn Код:
new Float:gRandomPlayerSpawns[5][3] = {
{2024.4786,1351.1939,11.1056},
{2106.8168,1385.4200,10.9730},
{2103.6337,989.39129,11.8158},
{2148.1616,832.49597,14.6996},
{1917.8604,962.31542,11.8742}
};
mas de fato tinha um numero errado, note que reduzi o 23 pra 5 pois tem apenas 5 linhas
Re: [problema] Respawn dos players -
seykan - 28.11.2010
deu certo VLW cara