Raised This Month: $ Target: $400
 0% 

Server crashes in Dodgeball Day


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 12-27-2014 , 19:11   Re: Server crashes in Dodgeball Day
Reply With Quote #7

I think I found the problem

EDIT: but now i have more bug when i throw ball to terrorist hes no die (cant kill him)
Code:
public FwdSetModel_Pre( iEnt, szModel[] )
{
    server_print("Debug: 1")
    if ( g_iCurrentDay != DODGEBALL_DAY )
        return 1;
        
    if ( equali( szModel, "models/w_hegrenade.mdl" ) )
    {
        entity_set_model( iEnt, g_szDodgeballWorldModel );
        
        set_task( 10.0, "RemoveEnt", iEnt );
        server_print("Debug: 2")
        
        return 4;
    }
    
    return 1;
}

public RemoveEnt( iEnt )
{
    server_print("Debug: 3")
    if ( pev_valid( iEnt ) ) remove_entity( iEnt );
    
    remove_task( iEnt );
    server_print("Debug: 4")
}

Errors Logs say:
Code:
L 12/28/2014 - 02:07:43: -------- Mapchange to jail_xmf -------- 
Server logging data to file logs/L1228004.log
 L 12/28/2014 - 02:07:43: Server cvar "mp_logdetail" = "1" 
Debug: 1

Last edited by Fuck For Fun; 12-27-2014 at 19:20. Reason: fixed set model
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
 



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 15:24.


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