/ban /kick /teletransport
#1

I'm noob at this... well... here's my question...

I'm doing a server, and i need /kick /ban cmds, so I searched in wikisamp and I found that

Quote:
Originally Posted by WIKISAMP
public OnPlayerCommandText( playerid, cmdtext[] )
{
if( strcmp( cmdtext, "/banme", true ) == 0 )
{
// Ban the player who offers this command.
Ban( playerid );
return 1;
}
}
but it bans myself.... What can I do??

thx for your attention,
McDonald
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)