Raised This Month: $ Target: $400
 0% 

[HELP] get_user_name probleme


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Old.School
Senior Member
Join Date: Sep 2015
Location: France
Old 12-28-2015 , 21:05   [HELP] get_user_name probleme
Reply With Quote #1

get_user_name(id, iTarget, charsmax(iTarget)); not work the player name is not logged how he must be ?

PHP Code:
public Handle_BlockedGuardMenu(idiKey)
{
    switch(
iKey)
    {
        case 
8: return Show_BlockedGuardMenu(id, ++g_iMenuPosition[id]);
        case 
9: return Show_BlockedGuardMenu(id, --g_iMenuPosition[id]);
        default:
        {
            new 
iTarget g_iMenuPlayers[id][g_iMenuPosition[id] * PLAYERS_PER_PAGE iKey];
            new 
szName[2][32];
            
get_user_name(idszName[0], charsmax(szName[]));
            
get_user_name(idiTargetcharsmax(iTarget));
            if(
IsSetBit(g_iBitUserBlockedGuardiTarget)) ClearBit(g_iBitUserBlockedGuardiTarget);
            else if(
IsSetBit(g_iBitUserConnectedid))
            {
                if(
g_iUserTeam[iTarget] == 2jbe_set_user_team(iTarget1);
                
SetBit(g_iBitUserBlockedGuardiTarget);
                
            }
            
log_to_file(g_szLogFile"Admin '%s' banned '%s' From Guards Team "szName[0], iTarget);
        }
    }
    return 
Show_BlockedGuardMenu(idg_iMenuPosition[id]);

__________________
You keep bringing B.R down .. He will rise again and kick Enemies asses !
Old.School is offline
 



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 09:32.


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