Raised This Month: $ Target: $400
 0% 

Crash when I look to Entity


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
RapZzw3rR
Member
Join Date: May 2012
Location: Romania
Old 09-08-2013 , 17:16   Crash when I look to Entity
Reply With Quote #1

I have this code:
PHP Code:
for( new 0MAX_ZONESi++ )
            
CreateZone(g_flMins[i], g_flMaxs[i]); 
PHP Code:
CreateZone(const FloatflMins[3], FloatflMaxs[3])
{
    new 
iEnt create_entity(g_szInfoTarget);
        
    if( !
is_valid_ent(iEnt) )
        return 
PLUGIN_CONTINUE;
    
    
entity_set_string(iEntEV_SZ_classnameg_szZonesClassName);
    
entity_set_int(iEntEV_INT_movetypeMOVETYPE_FLY);
    
entity_set_int(iEntEV_INT_solidSOLID_BBOX);
    
entity_set_size(iEntflMinsflMaxs);
    
    return 
PLUGIN_CONTINUE;

Good, this work, the entity is created and I can't pass through it but when I look to entity server get crash.

Thanks.
RapZzw3rR 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:11.


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