hrpyak
Новичок
Код:
CMD:inv(playerid)
{
if(GetPVarInt(playerid, "Inv") == 0)
{
for(new i; i != 43; i++) TextDrawShowForPlayer(playerid, Export_PTD[i]);
SetPVarInt(playerid, "Inv", 1);
}
else if(GetPVarInt(playerid, "Inv") == 1)
{
for(new i; i != 43; i++) TextDrawHideForPlayer(playerid, Export_PTD[i]);
SetPVarInt(playerid, "Inv", 0);
}
return 1;
}
Код:
for(new i; i != 43; i++) TextDrawShowForPlayer(playerid, Export_PTD[i]);
