09.12.2012, 22:26
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.
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.