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