17.03.2010, 17:23
Код:
if (strcmp("/changemode", cmdtext, true) == 0) { new gm[120]; new string[120]; if (strlen(gm)==0) { SendClientMessage(playerid, COLOR_COLOR, "Usage: /changemode [gamemode_name]"); return 1; } format(string, 120, "changemode %s", gm); SendRconCommand(string); return 1; }