How to read from a list from a text file?
#4

Quote:
Originally Posted by Kaliber
Посмотреть сообщение
Write this fix:

Код:
new str[128],playerIP[16];
while(fread(oplist, str))
{
    GetPlayerIp(playerid, playerIP, 16);
    switch(str[strlen(str)-2]) {
        case 13: str[strlen(str)-2] = EOS;
    }
    if(strcmp(playerIP, str) == 0) {
        IsOp[playerid] = true;
	SendClientMessage(playerid, -1, "Use /ophelp to see the op guide.");
    }
}
Greekz
Doesn't seem to work.

And @Konstantinos I planned on closing the loop once I got this part working.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)