Sz_** problem
#1

Quote:
PHP код:
 warning 203symbol is never used"sz_ip"
warning 203symbol is never used"sz_name" 
This feature is using on
PHP код:
LogIP(sz_name[], sz_ip[]) {

I
PHP код:
    new playerIP[16], pname[24];
    
GetPlayerIp(playeridplayerIPsizeof(playerIP));
    
GetPlayerName(playeridpnamesizeof(pname));
    
LogIP(pnameplayerIP);
    if (
CheckBan(playerIP) == 1)
    {
        new 
string[128];
        
SetPlayerName(playerid"BannedPlayer");
        
format(string,sizeof(string), "{FF0000}You are banned from this server.");
        
ShowPlayerDialog(playeridDIALOG_SHOW_INFODIALOG_STYLE_MSGBOX"{FFFFFF}Banned from Server"string"Ok""Cancel");
        
SetTimerEx("SendToKick"15000"i"playerid);
        return 
1;
    } 
That mean, this LogIP is using my LogIP(pname, playerIP); , If i delete this line. I am getting many problems.

can you help me please?

Problem fixed.
Reply
#2

Show me the code inside this function..

LogIP(sz_name[], sz_ip[])
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)