/ban /kick /teletransport
#9

Quote:
Originally Posted by viper_viper
/banme would seem that its bans themself but here is answer to your problem.

hope this helps

Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
  new giveplayerid;

  if( strcmp( cmdtext, "/ban", true ) == 0 )
  {
   Ban(giveplayerid);
   return 1;
   }
   return 0;
}
lol....

http://pastebin.com/m27605517

This should work. It's kind of big only because it requires strtok and IsNumeric but if you already have those then you can cut most of this out.
Reply


Messages In This Thread
/ban /kick /teletransport - by McDonald - 10.05.2008, 16:37
Re: /ban /kick /teletransport - by Mr.Lennart - 10.05.2008, 16:38
Re: /ban /kick /teletransport - by Zh3r0 - 10.05.2008, 16:44
Re: /ban /kick /teletransport - by McDonald - 10.05.2008, 17:24
Re: /ban /kick /teletransport - by Rykker - 11.06.2008, 16:15
Re: /ban /kick /teletransport - by viper_viper - 11.06.2008, 16:41
Re: /ban /kick /teletransport - by Toad - 11.06.2008, 16:44
Re: /ban /kick /teletransport - by cedryk_cedryk - 11.06.2008, 16:46
Re: /ban /kick /teletransport - by Backwardsman97 - 11.06.2008, 16:57
Re: /ban /kick /teletransport - by LarzI - 11.06.2008, 16:59

Forum Jump:


Users browsing this thread: 1 Guest(s)