10.05.2008, 16:37
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
but it bans myself.... What can I do??
thx for your attention,
McDonald
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; } } |
thx for your attention,
McDonald