13.03.2016, 11:33
Right now all I see is you are comparing the gpci to a file path string. Which is always true. And you don't check if the file exists.
Код:
new zSerial[128], serialfile[128], pName[MAX_PLAYER_NAME], info[128]; GetPlayerName(playerid, pName, MAX_PLAYER_NAME); gpci(playerid, zSerial, 128); format(serialfile,128,"GPCI/%s.txt",zSerial); if(fexist(serialfile)) { format(info,128,"[SEC]:%s was kicked.[Reason: Hash Banned]",pName); ABroadCast(0xFF0000FF, info, 2) && Kick(playerid); return true; }