checking banlog ingame
#7

i installed filemanager plugin.
i created a command checkbanlist.(idk if i create it right)

Код:
CMD:checkbanlist(playerid, params[])
{
	if(PlayerAcc[playerid][Admin] >= 3)
 {
 stock LoadBansAsString(string[])
 {
     new File: handle = fopen("banlog"), buf[200];
     if(handle) {
          fread(handle, buf);
          return buf;
     }

     return 0; // bad file(handle couldn't be established)
 }
	}
	return 1;
}
i wanted to load a list of banned players ingame using /checkbanlist

and it would loaded the list of banned players in the banlog by dialog msg box. but idk how.
Reply


Messages In This Thread
checking banlog ingame - by suni - 20.05.2015, 18:42
Re: checking banlog ingame - by Alex Magaсa - 20.05.2015, 19:43
Re: checking banlog ingame - by Konstantinos - 20.05.2015, 19:56
Re: checking banlog ingame - by suni - 20.05.2015, 19:57
Re: checking banlog ingame - by Abagail - 20.05.2015, 20:01
Re: checking banlog ingame - by Konstantinos - 20.05.2015, 20:14
Re: checking banlog ingame - by suni - 20.05.2015, 20:50
Re: checking banlog ingame - by Banana_Ghost - 20.05.2015, 22:22
~ - by Abagail - 20.05.2015, 22:22
Re: checking banlog ingame - by suni - 20.05.2015, 23:15

Forum Jump:


Users browsing this thread: 2 Guest(s)