SA-MP Forums Archive
Sz_** problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Sz_** problem (/showthread.php?tid=584868)



Sz_** problem - SoFahim - 08.08.2015

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.


Re: Sz_** problem - hamzajaved780 - 08.08.2015

Show me the code inside this function..

LogIP(sz_name[], sz_ip[])