Getting player EntID?
I'm trying to find a way to get the clients EntID. It seems it's needed, i'm trying to get an entity to target the player, and the user(s) index doesn't work. But if i use "find_ent_by_classname(-1,"player")" it works. But this only get's the first user in the server.
EDIT: Nevermind apparently, i used "fm_find_ent" and it worked fine. |
Re: Getting player EntID?
The player index (the "id" passed into most AMXX forwards) is always that player's entity index as well.
|
| All times are GMT -4. The time now is 10:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.