Raised This Month: $ Target: $400
 0% 

Ham_TakeDamage crash


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
hackingsoft7
Junior Member
Join Date: Jan 2009
Old 10-12-2010 , 11:18   Ham_TakeDamage crash
Reply With Quote #1

PHP Code:
stock UTIL_KillAlivePlayersid )
{
    
ExecuteHamHam_TakeDamageidbMyOwnWeaponEntid ], id9999.0DMG_GENERIC );

    new 
i;

    for( 
1<= gMaxPlayersi++ )
    {
        if( 
is_user_alive) && get_teamid ) != get_team) )
        {
            
ExecuteHamHam_TakeDamageibMyOwnWeaponEntid ], id9999.0DMG_GENERIC );
        }
    }

okay, i have this lil' stock. the problem is, server is crashing when used this for all players and me. why?

my custom weapon name is

bMyOwnWeaponEnt[ id ] = create_entity( "info_target );
set_pev( bMyOwnWeaponEnt[ id ], pev_classname, "My Weapon Name" );

tell me what is the problem.
hackingsoft7 is offline
 


Thread Tools
Display Modes

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 10:28.


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