AbyssMorgan/SAMP

error 017: undefined symbol "Fox"

Hamiiziii opened this issue · 1 comments

#define FoxForeach(%0,%1) for(new %0 = Fox%1[0], i_%0 = 0; i_%0 <= Fox%1Upp; i_%0++, %0 = Fox%1[i_%0])
@AbyssMorgan

FoxForeach macro required syntax without any extra spaces in arguments

Examaple:

FoxForeach(variable, Character ) //bad
FoxForeach(variable, Player) //bad
FoxForeach(variable,Bot ) //bad

FoxForeach(variable,Character) //ok
FoxForeach(variable,Player) //ok
FoxForeach(variable,Bot) //ok