#1

The script doesn't kick me while it have the same "serial" saved into SerialBans.txt file


// ONPLAYERCONNECT

Код:
if(!fexist("SerialBans.txt")) return 1;
	new serialid[164];
	gpci(playerid, serialid, sizeof(serialid));
	new File:sfile = fopen("SerialBans.txt", io_read);
	if(sfile)
	{
	    new banstr[164];
	    
	
		while(fread(sfile, banstr))
		{
			if(!strcmp(banstr, serialid))
			{
				SendClientMessage(playerid, 0x6EF83CFF, "blabla");
				SetTimerEx("kick",100, false, "i", playerid);
			}
		}
		fclose(sfile);
	}
Reply


Messages In This Thread
Gpci - by Riccardomen - 25.02.2017, 02:03
Re: Gpci - by Vince - 25.02.2017, 09:00
Re: Gpci - by Runn3R - 25.02.2017, 09:40

Forum Jump:


Users browsing this thread: 1 Guest(s)