27.12.2011, 20:17
When I type /setupdate hello it doesn't update the server name! ):
Why?
Why?
pawn Код:
CMD:setupdate(playerid,params[])
{
if(!IsPlayerAdmin(playerid)) return 0;
static text[65];
if(sscanf(params,"s[64]",text)) return SendHelpMessage(playerid,"/setupdate <text>","It will set the server name.");
static string[300];
format(string,sizeof string,"[0.3d]L.A. Noire RPG Cops and Robbers "version" %s",text);
SendRconCommand(string);
return 1;
}