[Ajuda] Definindo rcon no GM
#2

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;
}
Fiz apenas em strcmp, caso queira ZCMD poste!
* Cуdigo nгo testado
Reply


Messages In This Thread
Definindo rcon no GM - by minimessi10 - 02.08.2013, 13:15
Re: Definindo rcon no GM - by B4dB0y - 02.08.2013, 15:18

Forum Jump:


Users browsing this thread: 1 Guest(s)