I dont get any idea, what to do?
#3

pawn Код:
public OnPlayerConnect(playerid)
{
    new Gpd[MAX_PLAYER_NAME], PlayerName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
    new File:PK_Log = fopen("PK_list.txt", io_read);
    if(fexist("PK_list.txt"))
    {
        while(fread(PK_Log, Gpd)
        {
            if(strcmp(Gpd,PlayerName,true)==0)
            {
                Kick(playerid);
            }
        }
    }
    return 1;
}
Try this.
Reply


Messages In This Thread
I dont get any idea, what to do? - by ACI - 26.07.2013, 09:25
Re: I dont get any idea, what to do? - by Threshold - 26.07.2013, 09:29
Respuesta: I dont get any idea, what to do? - by Xabi - 26.07.2013, 09:32

Forum Jump:


Users browsing this thread: 1 Guest(s)