Ban and Kick
#1

Here is the script

if( strcmp( cmdtext, "/banp", true ) == 0 )
{
// Ban the player who types this command.
Ban(playerid);
return 1;
}
if(strcmp(cmdtext, "/kickp", true) == 0)
{
//Kicks the player who the executed this command
Kick(playerid);
return 1;
}

I dont want the player who types /banp get ban.I want it like the person type /banp then id and that person gets ban.For /kickp I want it same as /banp.Not kick the person who types it.Kick the person like /kickp id.
Reply


Messages In This Thread
Ban and Kick - by nicholas1 - 09.12.2012, 22:26
Re: Ban and Kick - by HireMe - 09.12.2012, 22:52
Re: Ban and Kick - by nicholas1 - 10.12.2012, 00:11
Re: Ban and Kick - by Devilxz97 - 10.12.2012, 02:28
Re: Ban and Kick - by GoldZoroGrab - 10.12.2012, 10:26
Re: Ban and Kick - by Konstantinos - 10.12.2012, 10:36
Re: Ban and Kick - by nicholas1 - 11.12.2012, 00:57

Forum Jump:


Users browsing this thread: 2 Guest(s)