I've been creating my own weapon base class. I have this function which is copied. The line: if( GlobalEntity_GetState( "friendly_encounter" ) == GLOBAL_ON ) gives me two errors saying GLOBAL_ON and GlobalEntity_GetState are undeclared identifiers. SDK Docs and the forums don't say anything about it and I've tried to hunt it down in the SDK and still can't figure out why I can't rid myselves of these errors.
Has anyone encountered something similar and could share their wisdom with me? _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

