Thread
: [Solved]
EntRefToEntIndex and EntIndexToEntRef
View Single Post
Marttt
Veteran Member
Join Date: Jan 2019
Location: Brazil
05-30-2020 , 23:32 Re: EntRefToEntIndex and EntIndexToEntRef
#
2
It is a good practice because an entity index can be taken over by another entity after a while, especially the ones created by plugins. If you are using the index in the same frame you probably won't have any issue but otherwise yes.
Here has some nice tips for coding:
[TUT] SourcePawn Scripting - Tips, Basics to Advanced
Search for:
Storing client and entity indexes or passing them to Timers
__________________
My Plugins
Marttt
View Public Profile
Send a private message to Marttt
Visit Marttt's homepage!
Find More Posts by Marttt