06.10.2014, 22:11
(
Последний раз редактировалось Ghost112397; 06.10.2014 в 23:25.
)
Hola, їme ayudan a solucionar esto?, me saltan muchнsimos errores.
їUna ayuda?
EDIT:
Los errores empiezan a surgir en los 'else if' a partir de esta linea:
pawn Код:
stock CargarInv(playerid)
{
if(Informacion[playerid][pSlotUsado1] == 0)
{
PlayerTextDrawSetString(playerid, Textdraw6[playerid], "Vacio");
}
else if(Informacion[playerid][pSlotUsado1] == 1)
{
if(Informacion[playerid][pItem1] == 1)
{
PlayerTextDrawSetString(playerid, Textdraw6[playerid], "Pizza");
}
else if(Informacion[playerid][pItem1] == 2)
{
PlayerTextDrawSetString(playerid, Textdraw6[playerid], "Botella de agua");
}
}
else if(Informacion[playerid][pSlotUsado2] == 0)
{
PlayerTextDrawSetString(playerid, Textdraw4[playerid], "Vacio");
}
else if(Informacion[playerid][pSlotUsado2] == 1)
{
if(Informacion[playerid][pItem2] == 1)
{
PlayerTextDrawSetString(playerid, Textdraw4[playerid], "Pizza");
}
else if(Informacion[playerid][pItem2] == 2)
{
PlayerTextDrawSetString(playerid, Textdraw4[playerid], "Botella de agua");}
}
}
else if(Informacion[playerid][pSlotUsado3] == 0)
{
PlayerTextDrawSetString(playerid, Textdraw5[playerid], "Vacio");
}
else if(Informacion[playerid][pSlotUsado3] == 1)
{
if(Informacion[playerid][pItem3] == 1)
{
PlayerTextDrawSetString(playerid, Textdraw5[playerid], "Pizza");
}
else if(Informacion[playerid][pItem3] == 2)
{
PlayerTextDrawSetString(playerid, Textdraw5[playerid], "Botella de agua");
}
}
else if(Informacion[playerid][pSlotUsado4] == 0)
{
PlayerTextDrawSetString(playerid, Textdraw7[playerid], "Vacio");
}
else if(Informacion[playerid][pSlotUsado4] == 1)
{
if(Informacion[playerid][pItem4] == 1)
{
PlayerTextDrawSetString(playerid, Textdraw7[playerid], "Pizza");
}
else if(Informacion[playerid][pItem4] == 2)
{
PlayerTextDrawSetString(playerid, Textdraw7[playerid], "Botella de agua");
}
}
else if(Informacion[playerid][pSlotUsado5] == 0)
{
PlayerTextDrawSetString(playerid, Textdraw9[playerid], "Vacio");
}
else if(Informacion[playerid][pSlotUsado5] == 1)
{
if(Informacion[playerid][pItem5] == 1)
{
PlayerTextDrawSetString(playerid, Textdraw9[playerid], "Pizza");
}
else if(Informacion[playerid][pItem5] == 2)
{
PlayerTextDrawSetString(playerid, Textdraw9[playerid], "Botella de agua");
}
}
else if(Informacion[playerid][pSlotUsado6] == 0)
{
PlayerTextDrawSetString(playerid, Textdraw9[playerid], "Vacio");
}
else if(Informacion[playerid][pSlotUsado6] == 1)
{
if(Informacion[playerid][pItem6] == 1)
{
PlayerTextDrawSetString(playerid, Textdraw9[playerid], "Pizza");
}
else if(Informacion[playerid][pItem6] == 2)
{
PlayerTextDrawSetString(playerid, Textdraw9[playerid], "Botella de agua");
}
}
else if(Informacion[playerid][pSlotUsado7] == 0)
{
PlayerTextDrawSetString(playerid, Textdraw10[playerid], "Vacio");
}
else if(Informacion[playerid][pSlotUsado7] == 1)
{
if(Informacion[playerid][pItem7] == 1)
{
PlayerTextDrawSetString(playerid, Textdraw10[playerid], "Pizza");
}
else if(Informacion[playerid][pItem7] == 2)
{
PlayerTextDrawSetString(playerid, Textdraw10[playerid], "Botella de agua");
}
}
return 1;
}
Quote:
C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(132 : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1332) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1334) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(133 : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1343) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1347) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1349) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1353) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(135 : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1362) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1364) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(136 : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1373) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1377) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1379) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1383) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(138 : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1392) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1394) : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(139 : error 010: invalid function or declaration C:\DOCUME~1\ADMINI~1\ESCRIT~1\Gamemode\GAMEMO~1\Zo mbieRP.pwn(1403) : error 010: invalid function or declaration Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 21 Errors. |
EDIT:
Los errores empiezan a surgir en los 'else if' a partir de esta linea:
pawn Код:
if(Informacion[playerid][pSlotUsado3] == 0)