View Single Post
SchlumPF*
Veteran Member
Join Date: Mar 2007
Old 03-29-2009 , 17:37   Re: [TUT] Modules and efficient scripting
Reply With Quote #30

never used pev_valid(id) == 2 but i guess it is not really needed.
if you set some ents pdata you should already know whether it has pdata. but it may be usefull if you loop through different kinds of ents (classnames)


a new question which came to my mind
is there any difference between
client_preThink( plr ) and register_forward( FM_PlayerPreThink, "fwdPlayerPreThink" ) ?
__________________

Last edited by SchlumPF*; 03-29-2009 at 17:45.
SchlumPF* is offline
Send a message via ICQ to SchlumPF*