[Help] ent
Quote:
Code:
public FwdTouch(ent, id) |
Re: [Help] ent
Show how you are registering the touch. If that is good, I would just add a pev_valid() test on ent at the very top.
|
Re: [Help] ent
Quote:
Code:
register_forward(FM_Touch, "FwdTouch", 0) |
Re: [Help] ent
As bugsy said check if ent and id are greater than 0
|
Re: [Help] ent
Quote:
Quote:
|
Re: [Help] ent
still error
Code:
public FwdTouch(ent, id) Quote:
|
Re: [Help] ent
Think about it.. If it is saying the line being called on 'id' is resulting in an invalid entity error, this means you should also put a check on the entity associated with 'id'.
PHP Code:
|
| All times are GMT -4. The time now is 07:32. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.