24.10.2016, 19:15
modelid is an integer so you should use cache_get_field_content_int function:
and use the cache functions to retrieve inside the if statement otherwise if there are no rows, you'll get no active cache warnings.
pawn Код:
new vmodel;
...
vmodel = cache_get_field_content_int(0, "Model");

