Ban Name
#2

Thats kind of useless, considering they have to be online to set a variable to someone.

Just make it so when you do that, it goes into there account and changes the current Banned variable in it to 1.

Quote:
Originally Posted by Mr_DjolE
Посмотреть сообщение
Yeah make Banned variable, and add something like this in onplayerconnect
pawn Код:
if (PlayerInfo[playerid][pBanned]>=1)
    {
        new string[254];
        format(string, sizeof(string), "You are currently banned for: %s", PlayerInfo[playerid][pBanReason]);
        Kick(playerid);
Why would you make one when he already has one? I'm saying, he should go into the players file and change the value of pBanned.
Reply


Messages In This Thread
Ban Name - by TyThaBomb - 25.06.2012, 22:00
Re: Ban Name - by Kindred - 25.06.2012, 22:15
Re: Ban Name - by Djole1337 - 25.06.2012, 22:20
Re: Ban Name - by TyThaBomb - 25.06.2012, 22:22
Re: Ban Name - by Djole1337 - 25.06.2012, 22:24
Re: Ban Name - by TyThaBomb - 25.06.2012, 22:25
Re: Ban Name - by Kindred - 25.06.2012, 22:26
Re: Ban Name - by TyThaBomb - 25.06.2012, 22:29

Forum Jump:


Users browsing this thread: 1 Guest(s)