Death problem
#1

pawn Код:
if( killerid == INVALID_PLAYER_ID )
    {
        SendDeathMessage( INVALID_PLAYER_ID, playerid, reason );
        GameTextForPlayer( playerid, "~r~N~r~~h~e~r~g~r~~h~y~r~v~r~~h~a~r~~h~s!" , 2, 2 );
        SetSpawnInfo( playerid,GetPlayerTeam( playerid ),GetPlayerSkin( playerid ),-2645.6074,697.1324,27.9375,356.4937,0,0,0,0,0,0 );
        print( "Lol 2" );
    }else{
        StartSpawnFunction      ( playerid );
        print( "Lol 1" );
        SendDeathMessage( killerid, playerid, reason );

    }

    if( InGameCheck[ killerid ] || InGameCheck[ playerid ] )
    {
        StartSpawnFunction      ( playerid );
        print( "Lol 3" );
    }
It's not working when i kill my friend and we both have InGameCheck true, "system shows he suicided print( "Lol 2" ); What's the problem?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)