Must be indexed variable prob ?
#3

Quote:
Originally Posted by Infinity90
Посмотреть сообщение
Try this, not sure if it would work (Untested)
pawn Код:
Banned[pName] = 1;
ok i fixed it , added that , but Banned[playerid] = 1; and then made a little code on player conect
pawn Код:
if(Banned[playerid] == 1) {
    SendClientMessage(playerid, COLOR_RED, " You are banned from this server");
    SendClientMessage(playerid, COLOR_RED, " If you think this is a mistake go to our forums");
    SendClientMessage(playerid, COLOR_RED, "FORUMS.Forums.COM");
    Kick(playerid);
    }
and it works. thanks for that inspiration
Reply


Messages In This Thread
Must be indexed variable prob ? - by MarkoN - 03.06.2012, 21:01
Re: Must be indexed variable prob ? - by Infinity90 - 03.06.2012, 21:06
Re: Must be indexed variable prob ? - by MarkoN - 03.06.2012, 21:15

Forum Jump:


Users browsing this thread: 1 Guest(s)