Raised This Month: $12 Target: $400
 3% 

Correct safety remove entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
DeMNiX
Veteran Member
Join Date: Nov 2011
Location: Russia
Old 10-13-2023 , 04:53   Re: Correct safety remove entity
Reply With Quote #10

Quote:
Originally Posted by MrPickles View Post
error will throw, u are starting the think to an invalid entity, u removed it before with FL_KILLME

setting KILL ME or with remove_entity( ent ) its more than enough.
Nope. FL_KILLME will remove object on next server tick.
On current server tick we just forcing to call Think function by DLLFunc_Think
__________________
My channel with test codes
https://www.youtube.com/user/demnix03

Zombie Riot [Scenario & bots-zombie 11.11.2023]
https://youtu.be/8ZZan-aq2sc
DeMNiX is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 19:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode