SA-MP Forums Archive
This seem's to crash my server. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: This seem's to crash my server. (/showthread.php?tid=203925)



This seem's to crash my server. - Fool - 28.12.2010

Title says it all, Just need a Fix.


Код:
    new
        string[128];
    if (udb_Exists(PlayerName(playerid)))
	{
        if (udb_UserInt(PlayerName(playerid),"banned") == 1)
	{
            new file[128], ip[16], str[150];
            GetPlayerIp(playerid,ip,16);
            format(file,sizeof(file),"cadmin/users/%s.ini",PlayerName(playerid));
            format(str,sizeof(str),"AUTO BAN: %s Has Been Auto-Banned Evading with a banned Name.");
            SendClientMessageToAll(red,str);
            BanEx(playerid,"AutoBanned - Using Banned Name");
        }
    }
BTW, i get no errors.


Re: This seem's to crash my server. - Fool - 28.12.2010

Ain't i going to get some help?