Raised This Month: $ Target: $400
 0% 

Detecting entity inside a zone


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Creater RJ
Junior Member
Join Date: Jun 2017
Old 06-28-2017 , 10:58   Re: Detecting entity inside a zone
Reply With Quote #1

Quote:
Originally Posted by Craxor View Post
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];
    
pevipev_classnameclassnamecharsmax(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
Creater RJ is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode