29.11.2009, 15:54
To your first question, here a better way
And to your second question, the same as you already posted
pawn Код:
#define RCON_PASSWORD "password"
pawn Код:
SendRconCommand("rcon_password " RCON_PASSWORD);
pawn Код:
if(strfind(text, RCON_PASSWORD, true) != -1)
return !SendClientMessage(playerid, COLOR_RED, "DUMMY you almost said the rcon pass");