It should also be noted that the errors aren't always caused by what the compiler says it's causing them.
For instance, today while I was working on ZP I started getting lots of
error 017: undefined symbol "xxxxxx" (screenshot attached to post). About half an hour later I found out it was caused by the following code:
Code:
fnGetSurvivors()
{
new iSurvivors, id
for (id = 1; id <= g_maxplayers; id++)
{
if (is_user_alive(id) && g_survivor[id])
iSurvivor++
}
return iSurvivors;
}
The highlighted line should read iSurvivor
s++ instead. After I fixed that, it compiled just fine.
And this is yet another reason why you should regularly backup your files...