Skip to content

Commit

Permalink
update spawn method example
Browse files Browse the repository at this point in the history
  • Loading branch information
Hedgefog committed Apr 23, 2024
1 parent abc625b commit 4ba74be
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/custom-entities/README.future.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,8 @@ public plugin_precache() {
}

@KeyItem_Spawn(const this) {
CE_CallBaseMethod();

new KeyType:iType = CE_GetMember(this, m_iType);

// Adding rendering effect based on key type
Expand Down

0 comments on commit 4ba74be

Please sign in to comment.