But if you use that in a plugin in a mod that has changed the CBaseEntity class, it will not work.
On 7/1/05, LDuke <[EMAIL PROTECTED]> wrote: > http://www.hl2coding.com/forums/viewtopic.php?t=557&highlight=sethealth > > has this: > > // Get CBaseEntity pointer for an edict > CBaseEntity *m_pCBaseEntity = pEdict->GetUnknown()->GetBaseEntity(); > > // Set player health > m_pCBaseEntity->SetHealth(new_health); > > That seems pretty simple and doesn't require SourceMM. I guess > technically that's not part of the "Valve provided" interface though. > > > > On 7/1/05, Jeffrey botman Broome <[EMAIL PROTECTED]> wrote: > > Michael A. Hobson wrote: > > > Jeff: > > > > > > Bullshit. > > > > > > Maybe it can't be done with the server plugin interfaces > > > supplied by Valve, but this is exactly the sort of hack people > > > are doing with SourceMM. > > > > Correct. Simple answer, it can't be done. :) > > > > -- > > Jeffrey "botman" Broome > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list archives, > > please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

