29.04.2011, 20:46
This is my ooc command:
Everything is fine except one problem. Look at this screen shot:

See how it cuts out half way across my screen. Please help me!
pawn Код:
command(ooc, playerid, params[])
{
new Message[128], string[128];
if(sscanf(params, "s", Message))
{
SendClientMessage(playerid, ORANGE, "Usage: /o(oc) [message]");
}
else
{
if( PlayerInfo[playerid][Admin] >= 1)
{
format(string, sizeof(string), "(( Server Admin %s: %s )) ", GetName(playerid), Message);
SendClientMessageToAll(HIGHLIGHT, string);
}
else
{
format(string, sizeof(string), "(( %s: %s ))", GetName(playerid), Message);
}
}
return 1;
}

See how it cuts out half way across my screen. Please help me!