25.11.2015, 17:13
Can you add debug lines to each check to see how far it gets?
and then tell us how far did it get?
PHP код:
print("1/4");
if(gunID != 0 && gunAmmo != 0 && ValidDropGunID(gunID))
{
print("2/4");
for(new i = 0; i < sizeof(DropInfo); i++)
{
print("3/4");
if(DropInfo[i][dX] == 0.0 && DropInfo[i][dY] == 0.0 && DropInfo[i][dZ] == 0.0)
{
print("4/4");