Quote:
Originally Posted by AnimalMonster
Why not use the offset m_pPlayer(41)? If you check by the owner of the gun it's gonna be inefficient in some cases.. unless you take care of that and also i always have this macro to check if the player is valid:
PHP Code:
#define IsPlayer(%0) ((0 < %0 < 33) && is_user_connected(%0))
To be more specific, you'd have to change the owner at AddItemToPlayer everytime to prevent that
|
since i'm making plugins not for online, i think that's enough. thanks anyway