22.03.2013, 12:29
Is it possible to put a format function inside an if statement? I'm trying to do this:
but the compiler says it's an empty statement
pawn Код:
if(format(query2, sizeof(query2), "SELECT id FROM `gates` WHERE id = '%i'", i));