30.05.2014, 17:14
Hello guys, i just got problem.. when i type too much (5/5).. i just see 2/5 of it.. how can i do that? here is the default commands for /o(oc).. i already test changing the iText to 1024 but still won't work.
pawn Код:
COMMAND:o(playerid, params[])
{
if(PlayerTemp[playerid][muted]) return SendClientError(playerid, "You are muted!");
if(!oocenable && !PlayerInfo[playerid][power] && !PlayerInfo[playerid][helper]) return SendClientError(playerid, "OOC is off!");
new iText[ 200 ];
if(sscanf(params, "s", iText)) return SCP(playerid, "[msg]");
if(PlayerInfo[playerid][power] || PlayerInfo[playerid][helper] || PlayerInfo[playerid][power] != 31337)
{
format(iStr,sizeof(iStr),"{8bbc8b}(( {CCFFCC}%s %s: %s {8bbc8b}))",AdminLevelName(playerid), AnonAdmin(playerid),iText);
SendMessageToAll(0xCCFFCC00, iStr);
}
else
{
format(iStr,sizeof(iStr),"{8bbc8b}(( [OOC] {CCFFCC}%s: %s {8bbc8b}))",RPName(playerid),iText);
PlayerLoop(f) { if(PlayerTemp[f][oocoff]==0) SendMessageToPlayer(f,0xCCFFCC00,iStr); }
}
format(iStr, sizeof(iStr), "10(( [Global OOC]: %s %s: %s ))", AdminLevelName(playerid),PlayerName(playerid), iText);
iEcho(iStr);
return 1;
}