02.08.2013, 15:18
pawn Код:
if(strcmp(cmdtext, "/rcon", true) == 0)
{
new tmp[256];
new cmd, num;
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SendClientMessage(playerid, 0xFFFF00FF, "USE: /Rcon [nova senha rcon]");
return 1;
}
format(string, sizeof(string), "rcon_password %s", tmp);
SendRconComand(string);
return 1;
}
* Cуdigo nгo testado