[Ajuda]Preciso de Ajuda no MOD
#1

eu estou a fazer um mode e quado o termino apareзe este erro

Код:
C:\Users\proprietбrio\Desktop\Gamemode by me\U_LS_GangWars.pwn(218) : error 029: invalid expression, assumed zero
C:\Users\proprietбrio\Desktop\Gamemode by me\U_LS_GangWars.pwn(218) : error 008: must be a constant expression; assumed zero
ajudem-me o que devo fazer?
Reply
#2

vocк deve postar a linha 218!
porque ninguem й adivinha ^^
Reply
#3

vou postar essa e mais algumas
Код:
new GangInfo[MAX_GANGS][ginfo];
new ZoneInfo[MAX_ZONES+1][zinfo];

new GangZone_CurrentColour[MAX_GANGS]; // Saves the zones current colour

new Float:ZoneLocations[MAX_ZONES][4] = {
 	{2193.39, -1926.622, 2590.068, -1448.945}, //grove 0
 	{2010.854, -1448.945, 2590.068, -1058.119}, //ballas 1
	{1807.184, -1926.622, 2193.39, -1448.945}, // aztecs 2
	{1075.356, -1885.622, 1424.182, -1390.99}, //nang 3
	{2590.068, -1673.966, 2927.337, -1058.119},//vagos 4
	{1424.182, -1885.622, 1807.184, -1448.945}, // cops 5
	{2079.305, -2312.000, 2547.053, -1926.622},//mafia 6
	{1424.182,-1448.945,1862.935,-1044.718}, // biker 7
	{2374.551,-2677.546,2847.865,-2312.000}, //army 8
};(й esta)

	forward PlayerToPoint(Float:radi, playerid, Float:x, Float:y, Float:z);
	forward split(const strsrc[], strdest[][], delimiter);
	forward SetupPlayerForClassSelection(playerid);
	forward EndGangWar(zone, attacker, defender);
	forward TuneUpCarUpdate(VehicleID);
	forward JailRelease(killerid);
	forward TDPlayerZoneUpdate(i);
	forward StuntAreaUpdate();
	forward SaveZoneBackup();
	forward RestoreHealth();
	forward AdvanceTime();
	forward ResetZones();
	forward BankUpdate();
	forward UNLOAD();
	forward PayDay();
	forward Msg();
Reply
#4

Tente isto,
pawn Код:
new Float:ZoneLocations[MAX_ZONES][9] = {
    {2193.39, -1926.622, 2590.068, -1448.945}, //grove 0
    {2010.854, -1448.945, 2590.068, -1058.119}, //ballas 1
    {1807.184, -1926.622, 2193.39, -1448.945}, // aztecs 2
    {1075.356, -1885.622, 1424.182, -1390.99}, //nang 3
    {2590.068, -1673.966, 2927.337, -1058.119},//vagos 4
    {1424.182, -1885.622, 1807.184, -1448.945}, // cops 5
    {2079.305, -2312.000, 2547.053, -1926.622},//mafia 6
    {1424.182,-1448.945,1862.935,-1044.718}, // biker 7
    {2374.551,-2677.546,2847.865,-2312.000}
};(й esta)
@editado..
Reply
#5

agora aparece isto
Код:
C:\Users\proprietбrio\Desktop\Gamemode by me\U_LS_GangWars.pwn(218) : error 052: multi-dimensional arrays must be fully initialized
Reply
#6

pawn Код:
new Float:ZoneLocations[MAX_ZONES][8] = {
    {2193.39, -1926.622, 2590.068, -1448.945}, //grove 0
    {2010.854, -1448.945, 2590.068, -1058.119}, //ballas 1
    {1807.184, -1926.622, 2193.39, -1448.945}, // aztecs 2
    {1075.356, -1885.622, 1424.182, -1390.99}, //nang 3
    {2590.068, -1673.966, 2927.337, -1058.119},//vagos 4
    {1424.182, -1885.622, 1807.184, -1448.945}, // cops 5
    {2079.305, -2312.000, 2547.053, -1926.622},//mafia 6
    {1424.182,-1448.945,1862.935,-1044.718}, // biker 7
    {2374.551,-2677.546,2847.865,-2312.000}
};(й esta)
Reply
#7

й a mesma coisa, dб o mesmo erro:
Код:
 C:\Users\proprietбrio\Desktop\Gamemode by me\U_LS_GangWars.pwn(218) : error 052: multi-dimensional arrays must be fully initialized
Reply
#8

new Float:ZoneLocations[MAX_ZONES][9] = {
{2193.39, -1926.622, 2590.068, -1448.945}, //grove 0
{2010.854, -1448.945, 2590.068, -1058.119}, //ballas 1
{1807.184, -1926.622, 2193.39, -1448.945}, // aztecs 2
{1075.356, -1885.622, 1424.182, -1390.99}, //nang 3
{2590.068, -1673.966, 2927.337, -1058.119},//vagos 4
{1424.182, -1885.622, 1807.184, -1448.945}, // cops 5
{2079.305, -2312.000, 2547.053, -1926.622},//mafia 6
{1424.182,-1448.945,1862.935,-1044.718}, // biker 7
{2374.551,-2677.546,2847.865,-2312.000}
};(й esta)

й isso ai '-'
Reply
#9

Continua
Код:
new Float:ZoneLocations[MAX_ZONES][9] = {
  {2193.39, -1926.622, 2590.068, -1448.945}, //grove 0
  {2010.854, -1448.945, 2590.068, -1058.119}, //ballas 1
  {1807.184, -1926.622, 2193.39, -1448.945}, // aztecs 2
  {1075.356, -1885.622, 1424.182, -1390.99}, //nang 3
  {2590.068, -1673.966, 2927.337, -1058.119},//vagos 4
  {1424.182, -1885.622, 1807.184, -1448.945}, // cops 5
  {2079.305, -2312.000, 2547.053, -1926.622},//mafia 6
  {1424.182,-1448.945,1862.935,-1044.718}, // biker 7
  {2374.551,-2677.546,2847.865,-2312.000}
};
meti assim e deu este erro
Код:
C:\Users\proprietбrio\Desktop\Gamemode by me\U_LS_GangWars.pwn(218) : error 052: multi-dimensional arrays must be fully initialized
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase
Reply
#10

Tem msn... Mais facil ajudar por lб
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)