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;
}
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. |
if(Informacion[playerid][pSlotUsado3] == 0)
Textdraw4[playerid] = CreatePlayerTextDraw(playerid, 176.000000, 253.866668, "Vacio");
PlayerTextDrawLetterSize(playerid, Textdraw4[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw4[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw4[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw4[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw4[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw4[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw4[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw4[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw4[playerid], true);
Textdraw5[playerid] = CreatePlayerTextDraw(playerid, 176.000000, 276.266693, "Vacio");
PlayerTextDrawLetterSize(playerid, Textdraw5[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw5[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw5[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw5[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw5[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw5[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw5[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw5[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw5[playerid], true);
Textdraw6[playerid] = CreatePlayerTextDraw(playerid, 176.000000, 230.720001, "Vacio");
PlayerTextDrawLetterSize(playerid, Textdraw6[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw6[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw6[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw6[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw6[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw6[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw6[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw6[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw6[playerid], true);
Textdraw7[playerid] = CreatePlayerTextDraw(playerid, 175.999862, 298.666656, "Vacio");
PlayerTextDrawLetterSize(playerid, Textdraw7[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw7[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw7[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw7[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw7[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw7[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw7[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw7[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw7[playerid], true);
Textdraw8[playerid] = CreatePlayerTextDraw(playerid, 175.999862, 319.573120, "Vacio");
PlayerTextDrawLetterSize(playerid, Textdraw8[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw8[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw8[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw8[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw8[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw8[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw8[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw8[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw8[playerid], true);
Textdraw9[playerid] = CreatePlayerTextDraw(playerid, 176.800003, 342.719940, "Vacio");
PlayerTextDrawLetterSize(playerid, Textdraw9[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw9[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw9[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw9[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw9[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw9[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw9[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw9[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw9[playerid], true);
Textdraw10[playerid] = CreatePlayerTextDraw(playerid, 176.799926, 365.866638, "Vacio");
PlayerTextDrawLetterSize(playerid, Textdraw10[playerid], 0.449999, 1.600000);
PlayerTextDrawAlignment(playerid, Textdraw10[playerid], 1);
PlayerTextDrawColor(playerid, Textdraw10[playerid], -1);
PlayerTextDrawSetShadow(playerid, Textdraw10[playerid], 0);
PlayerTextDrawSetOutline(playerid, Textdraw10[playerid], 1);
PlayerTextDrawBackgroundColor(playerid, Textdraw10[playerid], 51);
PlayerTextDrawFont(playerid, Textdraw10[playerid], 1);
PlayerTextDrawSetProportional(playerid, Textdraw10[playerid], 1);
PlayerTextDrawSetSelectable(playerid, Textdraw10[playerid], true);