[HELP] offban reason
#2

If in the Banovi/UserFile.ini its only ban reason.

pawn Код:
new lokacija[128],rzl[128],PlayerName[MAX_PLAYER_NAME];
GetPlayerName(playerid, PlayerName, MAX_PLAYER_NAME);
format(lokacija,128,"Banovi/%s.ini",PlayerName);
if(fexist(lokacija))
{
    new File:iUser = fopen(PlayerName, io_read);
    fread(iUser, rzl);
    fclose(iUser);
    ClearChatbox(playerid, 40);
    SCM(playerid, 0xDB023EFF, "G-Protect: {FFFFFFVas account je trenutno iskljucen sa servera! Izbaceni ste!");
    SCMF(playerid, BELA, "G-Protect: Razlog bana: %s",rzl);
    KickWithMessage(playerid);
}
Reply


Messages In This Thread
[HELP] offban reason - by Luca12 - 07.09.2013, 12:01
Re: [HELP] offban reason - by OxyG3N - 07.09.2013, 12:26

Forum Jump:


Users browsing this thread: 1 Guest(s)