Quote:
Originally Posted by Craxor
Yes.
I'l show a method when i will have free time, until then i will post just the function i use:
PHP Code:
bool:isPlayer(i)
{
new classname[8];
pev( i, pev_classname, classname, charsmax(classname) );
return bool:(classname[0]=='p'&&classname[1]=='l'&&classname[3]=='y'&&classname[5]=='r');
}
|
Sorry i didnt get you, i want to detect a non-player entity inside a zone , something like cs_get_user_mapzones(player) which will work only for players , i want for non-player entity