Quote:
|
Ok, tnx. I have 2 more q, is sound emitted with client_cmd( id , spk...) heard by everyone or just that player, and is it ok to remove is_valid_ent check if i change
|
Just by that player, since you provide his index.
Better to use register_touch() when you can ( called only on the classname provided, and the check is done internally so more efficient ). About the check, the entity should be always checked (quad).
Id should be checked ( or not ) depending your need. (alive, connected, etc. )
__________________