PDA

View Full Version : Entity to Player id


He@dShot
04-20-2008, 17:19
how can I get an entity's id ? if it's a player...

Exolent[jNr]
04-20-2008, 17:24
If you have an entity id and the entity is a player, the entity id is the player id.
If you have an entity owned by a player, the player id is:new id = pev(entid, pev_owner);

Exolent[jNr]
04-20-2008, 18:58
What's wrong with what I said?

[ --<-@ ] Black Rose
04-20-2008, 19:40
I'm sorry, I deleted my post but it reappeared... strange.

Exolent[jNr]
04-20-2008, 19:54
Oh, lol.