View Single Post
Re: help - radio emulation
Old
  (#7)
BAILOPAN
Member
 
Status: Offline
Posts: 5
Join Date: Aug 2004
Location: RI
Default Re: help - radio emulation - 23-10-2005

Edicts are passed around by their entity index. AMX Mod X has the entity_[get|set]_[type] functions for pulling things out of the entvars struct.

Of course, player indices are themselves edict indices, so your statement didn't make much sense.

They don't pass around an edict type because Small is type-generic (it only has one data type, which is integral). That is why it uses entity indices.
  
Reply With Quote