View Single Post
quilhos
Veteran Member
Join Date: Jun 2010
Old 05-20-2016 , 08:34   Re: JailBreak Final Generation
Reply With Quote #30

There are some problems with:
PHP Code:
public CBasePlayer_Killed_PostiVictimiKiller )
{
    
/*
        <^> Remove player's alive bit.
    */
    
    
FBitClearIsAliveiVictim );
    
    
/*
            <^> Inform other plugins of the player kill player.
    */
        
    
new iReturn;
        
    
ExecuteForwardForwardHandle_PlayerKillediReturniVictim );
    
    
/*
        <^> Show message.
    */
    
    
if( iKiller && iKiller != iVictim )
    {
        Print( 
0get_user_teamiKiller ), "%L"LANG_SERVER"PLAYER_KILLED_PLAYER"GetPlayerLangNameiKiller ), GetPlayerNameiKiller ), GetPlayerLangNameiVictim ), GetPlayerNameiVictim ) );
    }
    
    
/*
        <^> Deal with boxing players.
    */
    
    
if( FBitGetIsBoxingiVictim ) )
    {
        new 
iOpponent g_iBoxOpponentiVictim ];
        
        
FBitClearIsBoxingiVictim );
        
FBitClearIsBoxingiOpponent );
        
        
set_user_renderingiVictimkRenderFxNone,00kRenderNormal);
        
set_user_renderingiOpponentkRenderFxNone,00kRenderNormal);
        
        
g_iBoxOpponentiVictim ] = 0;
        
g_iBoxOpponentiOpponent ] = 0;
    }

Error:
Code:
L 05/20/2016 - 13:24:06: Expected 1 parameters, got 2
L 05/20/2016 - 13:24:06: [AMXX] Displaying debug trace (plugin "BigHorn_Jailbreak.amxx")
L 05/20/2016 - 13:24:06: [AMXX] Run time error 10: native error (native "ExecuteForward")
L 05/20/2016 - 13:24:06: [AMXX]    [0] BigHorn_Jailbreak.sma::CBasePlayer_Killed_Post (line 703)
And when a player kills another in a box match in the chat theres a bug in the GetPlayerLangName, because the player who gets killed its called guard and not prisoner.
__________________
ELO RATING SYSTEM - SQL [COMPLETE]
Quote:
Originally Posted by Liverwiz View Post
DDDRRRRAAAAMMMMAAAAA!!!???

Put this shit on pause while i go get some popcorn!!
quilhos is offline