08.10.2011, 21:33
Hello all,
I'm trying to make an ooc chat (yeah by myself because i learn from doing things by myself XD)
now the problem was the if you typed like ffffffffffffffffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffff
it only showed like: ffffffffffffffffffffffffffffffffffffffff
so i made it much bigger but it stays the same..
the messages are really really really short..
help me please =)
I'm trying to make an ooc chat (yeah by myself because i learn from doing things by myself XD)
now the problem was the if you typed like ffffffffffffffffffffffffffffffffffffffffffffffffff fffffffffffffffffffffffffffffffffffffff
it only showed like: ffffffffffffffffffffffffffffffffffffffff
so i made it much bigger but it stays the same..
the messages are really really really short..
pawn Код:
CMD:o(playerid, params[]) {
if(OOC == true) {
new message[400], pname[MAX_PLAYER_NAME], cmessage[500];
GetPlayerName(playerid, pname, sizeof(pname));
if(sscanf(params, "s", message)) return SendClientMessage(playerid, COLOR_RED, "USAGE: /o (message)");
format(cmessage, sizeof(cmessage), "(( OOC: %s: %s ))", pname, message);
SendClientMessageToAll(COLOR_GREY, cmessage);
} else {
SendClientMessage(playerid, COLOR_GREY, "SERVER: The OOC chat is turned off.");
}
return 1;
}