OOC - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: OOC (
/showthread.php?tid=188379)
OOC -
mel~vin - 07.11.2010
How to make an OOC ?
Re: OOC -
Mike_Peterson - 07.11.2010
errm if ur using a roleplay server which has local chat you could just make a format like [OOC]%s:%s (playername,text)
and sendclientmessagetoall
Re: OOC -
Julian2574 - 07.11.2010
Make it as a command who uses "SendClientMessageToAll"
Use RP gm thats released and use their ideas!
Re: OOC -
Luis- - 07.11.2010
pawn Код:
if (!strcmp("/o", cmdtext, true, 2))
{
new str[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(str, sizeof(str), "[OOC] %s: %s", name, cmdtext[2]);
SendClientMessageToAll(COLOR_[Insert Here], str);
return 1;
}