16.11.2012, 20:28
pawn Код:
CMD:adminad(playerid, params[])
{
if(!IsPlayerLoggedIn(playerid)) return SCM(playerid, COLOR_GREY, "You are not logged in.");
if(PlayerInfo[playerid][pAdmin] < 5) return SCM(playerid, COLOR_WHITE, "SERVER: Unknown command.");
if(sscanf(params, "s", string)) return SCM(playerid, COLOR_WHITE, "USAGE: /weatherad [message]");
else
{
SCMTA(COLOR_WHITE, "-------------------------------------------------------------------------------------------------------------");
SendClientMessageToAll(COLOR_AQUA, "Bone County Roleplay Administration :: Public Announcement [OOC]");
new string[128];
format(string, sizeof(string), "%s", string);
SendClientMessageToAll(COLOR_GREY, string);
SCMTA(COLOR_WHITE, "-------------------------------------------------------------------------------------------------------------");
}
return 1;
}
Also max characters in chat can be 128 not longer so it does not really depend on your screens size or anything coz you can put 200 'iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii iiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii iiiiiiiiiiiiiiiiiiiiiiiiiiii' however only 128 of them will be displayed in your chat.