29.01.2010, 14:33
Код:
if(strcmp(cmd, "/adminsay", true) == 0) { if(IsPlayerAdmin(playerid)) { new result[256]; new pname[MAX_PLAYER_NAME], string5[256]; GetPlayerName(playerid, pname, sizeof(pname)); format(string5,sizeof(string5), "Administraator %s: %s", pname, result); SendClientMessageToAll(VARV_VALGE, string5); } else { SendClientMessage(playerid, VARV_VALGE, "Sa ei ole RCON administraatorina!"); } }