Author Topic: Help me ( SendRconCommand not work ) Pawn  (Read 2683 times)

0 Members and 1 Guest are viewing this topic.

Offline killvn1

  • Street Thug
  • *
  • Posts: 33
    • View Profile
Help me ( SendRconCommand not work ) Pawn
« on: October 15, 2010, 12:12:24 pm »
I use pawn Script ! I create commands :

if (strcmp(cmd,"kickme", true) == 0)
{
SendClientMessage(playerid,COLOR_RED,"As you wish.");
SendRconCommand("kick %d",playerid);
return 1;
}

But SendRconCommand("kick %d",playerid); not work ??? ! How can i SendRconCommand look like :
Player type !rain
SendRconCommand("setweather 5");

But is not work ??? Help me thanks ! >:( :-* :D