11.06.2008, 16:57
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;
}
|
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.

