07.08.2013, 01:47
Change:
to:
PHP код:
if( !strcmp( type, "model" ) )
PHP код:
if(strcmp(type,"model", true) == 0)//It's type sorry.