BAN command problem
#2

pawn Код:
SetPVarInt(playerid, "playerid", playerid);
You're storing the person who did the command in the PVar? You should be storing the ID of the person you mean to kick, which seemingly according to your code is stored in the "id" variable, so your code should become this:

pawn Код:
SetPVarInt(playerid, "playerid", id);
Reply


Messages In This Thread
BAN command problem - by Osviux - 26.05.2011, 15:45
Re: BAN command problem - by JaTochNietDan - 26.05.2011, 15:50
Re: BAN command problem - by Osviux - 26.05.2011, 16:15
Re: BAN command problem - by JaTochNietDan - 26.05.2011, 16:19
Re: BAN command problem - by Osviux - 26.05.2011, 16:24
Re: BAN command problem - by Max_Coldheart - 26.05.2011, 16:26
Re: BAN command problem - by Osviux - 26.05.2011, 16:29
Re: BAN command problem - by JaTochNietDan - 26.05.2011, 16:30
Re: BAN command problem - by Osviux - 26.05.2011, 16:55

Forum Jump:


Users browsing this thread: 1 Guest(s)