05.09.2011, 17:07
I know its possible to have commands in the samp-server.exe console, and i also tried to make one but it didnt work.
When i typed "kickall" in the console (with '/rcon' before it, and with 'rcon' before it and without '(/)rcon' ) nothing happened, it didnt even print 'kickall'
What can the problem be?
~Wesley
pawn Код:
public OnRconCommand(cmd[])
{
if( !strcmp( cmd, "kickall", true ) )
{
print("kickall");
foreach(Player, i)
{
Kick( i );
}
}
return 0;
}
What can the problem be?
~Wesley