27.12.2011, 20:22
it will send "[0.3d]L.A. Noire RPG Cops and Robbers "version" %s" and this isnt SAMP Rcon command..
You must put
if front of this or else, depeading what you want to change
and here is command
You must put
pawn Код:
hostname
and here is command
pawn Код:
CMD:setupdate(playerid,params[])
{
if(!IsPlayerAdmin(playerid)) return 0;
static text[64];
if(sscanf(params,"s[64]",text)) return SendHelpMessage(playerid,"/setupdate <text>","It will set the server name.");
static string[300];
format(string,sizeof(string),"hostname [0.3d]L.A. Noire RPG Cops and Robbers "version" %s",text);
SendRconCommand(string);
return 1;
}