Raised This Month: $ Target: $400
 0% 

How to get a player's entityid


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
President
Member
Join Date: May 2013
Old 06-09-2013 , 13:41   Re: How to get a player's entityid
Reply With Quote #2

Quote:
Originally Posted by 1023168216 View Post
if i have a Bot player's index,how can i get the player' entity id by his index???
What?

Quote:
Originally Posted by 1023168216 View Post
Another problem:
new Float:vec[3]
Then how can i get the map special area's origin?for example:bomb area's origin
PHP Code:
#include <engine>
public Find_Bomb_Area_Origins()
{
      new 
ent = -1;
      while((
ent find_ent_by_class(ent"func_bombsite")))
      {
            new 
Float:vec[3];
            
entity_get_vector(entEV_VEC_originvec);
      }


Last edited by President; 06-09-2013 at 13:42.
President is offline
 



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 16:19.


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