15.06.2013, 03:32
I think this is how you wanted it to do it. The loop will stop at the end element of your array.
Rep+4 for the attempt to learn.
pawn Код:
public OnFilterScriptInit()
{
print("| RHousing Version: 1.0 |");
for (new i = 0; i >= sizeof(CmdList); i++)
{
if (CmdList[i] != 0)
{
print("yay");
}
}
return 1;
}