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