Skip to content

Commit bf458a4

Browse files
Add missing note to onClientElementStreamOut
1 parent 3edbf36 commit bf458a4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

events/Element/onClientElementStreamOut.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,7 @@ notes:
1919
content: Be aware that this event triggers for local player (as itself being the
2020
element that got streamed out) when said local player dies and respawns, as this
2121
is the removal & recreation of entity local ped.
22+
- type: info
23+
content: This event is not triggered for elements that are streamed-in at the point
24+
of a destroyElement call. Use the onClientElementDestroy event in combination
25+
with the isElementStreamedIn function to handle such a case.

0 commit comments

Comments
 (0)