19.09.2012, 16:31
(
Последний раз редактировалось fordawinzz; 19.09.2012 в 17:42.
)
Ok, I'm having a little trouble with this:
This code always returns 1, when I use any string there, even if it is correct or incorrect.. Why it won't return 0?
I also tried with the break method, still nothing
pawn Код:
stock GetFurnitureID(name[])
{
for(new i = 1; i <= CountDynamicObjects(); i++)
{
if(strcmp(debugFurniture[objectsVariables[i][oFurnitureIDS]][dfName], name, true) == 0)
{
return i;
}
}
return 0;
}
I also tried with the break method, still nothing