PHP Code:
DataPack entityInfo;
entityInfo.WriteCell(entity);
CreateDataTimer(15.0, Timer_Entity, entityInfo);
The order of these statements needs to change. Specifically, it needs to be
PHP Code:
DataPack entityInfo;
CreateDataTimer(15.0, Timer_Entity, entityInfo);
entityInfo.WriteCell(entity);
I know it
seems backwards, but entityInfo is essentially a Handle and the Handle is created
inside the CreateDataTimer call. However, because it's a Handle, the actual data it stores is essentially stored by reference.
Quote:
Originally Posted by WildCard65
Then what is the AMXX equivalent if it's not funcnum?
|
funcenum (i.e. function enumeration), not funcnum.
__________________