Raised This Month: $ Target: $400
 0% 

Solved Ent has null Private Data | Array not being read


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 08-05-2018 , 15:48   Re: Ent has null Private Data | Array not being read
Reply With Quote #1

Quote:
Originally Posted by edon1337 View Post
KliPPY, it fixed it, thanks.

I have a question, can I just call m_pfnThink and destroy the weaponbox instead of returning 0?
PHP Code:
        new WeaponBoxEntity OrpheuCallHandleCreateNamedEntityFuncIntClassNameString ) ; 
        if( 
pev_validWeaponBoxEntity ) != 
        { 
            return 
0
        } 
Why do you want to destroy something that was not even created?
__________________
HamletEagle is offline
edon1337
Penguin Enthusiast
Join Date: Jun 2016
Location: Macedonia
Old 08-05-2018 , 15:51   Re: Ent has null Private Data | Array not being read
Reply With Quote #2

Quote:
Originally Posted by HamletEagle View Post
Why do you want to destroy something that was not even created?
I thought it would be created but be considered invalid, nevermind.
__________________
edon1337 is offline
Reply



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 12:12.


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