after working through some more ideas i came up with this code but it causes the game to lockup when called :'(
CBaseEntity *pLight = NULL; pLight = UTIL_FindEntityByString( pLight, "netname", STRING( pev->netname ) ); pLight->Use(NULL, NULL, USE_TOGGLE, 0); _________________________________________________________________ Join the world�s largest e-mail service with MSN Hotmail. http://www.hotmail.com _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

