Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 3 of 3
Search took 0.00 seconds.
Search: Posts Made By: AdRiAnIlloO
Forum: Snippets and Tutorials 03-26-2022, 07:54
Replies: 83
Views: 136,595
Posted By AdRiAnIlloO
Re: [TUT] SourcePawn Scripting - Tips, Basics to Advanced

Sorry for the delay, was busy. Here goes the parts of interest for my entity-tracking variable (which aims to refer to an env_sprite):


int gKingSprite = INVALID_ENT_REFERENCE; // Global scope...
Forum: Snippets and Tutorials 03-23-2022, 04:03
Replies: 83
Views: 136,595
Posted By AdRiAnIlloO
Re: [TUT] SourcePawn Scripting - Tips, Basics to Advanced

Citing your own quote.



This is what I exactly suggested, expanding the reasoning with how to ensure it overcomes EntRefToEntIndex approach (basically not calling that nor IsValidEntity, etc.)...
Forum: Snippets and Tutorials 03-21-2022, 12:04
Replies: 83
Views: 136,595
Posted By AdRiAnIlloO
Re: [TUT] SourcePawn Scripting - Tips, Basics to Advanced

I recently realized cleaning entity index trackers was also an option (from OnEntityDestroyed) and lately used that approach instead of entity references system, for just one entity as max. in my...
Showing results 1 to 3 of 3

 
Forum Jump

All times are GMT -4. The time now is 10:21.


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