10.10.2015, 18:10
pawn Код:
CMD:changemission(playerid, params[])
{
new string[64], name[24];
if(!IsPlayerAdmin(playerid))
return SendClientMessage(playerid, -1, "[ERROR] You need to be RCON to use it.");
if(sscanf(params,"s[64]",name))
return SendClientMessage(playerid, -1, "USAGE: /changemission [gamemode]");
format(string, sizeof(string),"changemode %s", name);
SendRconCommand(string);
return 1;
}