Skip to content

Instantly share code, notes, and snippets.

View CamxxCore's full-sized avatar
👨‍🚀
Focusing

Cam CamxxCore

👨‍🚀
Focusing
View GitHub Profile
void function IconForLootThread( entity player, entity loot, LootData lootData, array<var> itemRuis, var farRui ) {
EndSignal( player, "OnDestroy" )
EndSignal( player, "OnDeath" )
EndSignal( loot, "OnDestroy" )
Assert ( IsNewThread(), "Must be threaded off." )
if ( player != GetLocalClientPlayer() ) return
if ( GetCodeBool( "StreamingMode" ) ) return
if ( !IsValid( loot ) ) return
if ( lootData.lootType == eLootType.MAINWEAPON ) {