SA-MP Forums Archive
[HELP]Chat help - 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: [HELP]Chat help (/showthread.php?tid=225375)



[HELP]Chat help - sushihusi - 13.02.2011

Hello!

I need a chat system:
When i write a message in /ooc what is too long, it looks like this:
Код:
(( X_Y OOC: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
And I want a script what does this:
Код:
((X_Y OOC: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa...
...aaaaaaaaaaaaaaaaa ))
sry for my bad english


Re: [HELP]Chat help - xir - 13.02.2011

show the code


Re: [HELP]Chat help - sushihusi - 13.02.2011

Код:
format(string, sizeof(string), "(( %s OOC: %s ))", pName(playerid), result);
SendClientMessageToAll(COLOR_CHAT1,string);



Re: [HELP]Chat help - xir - 13.02.2011

Show the whole code not only that part


Re: [HELP]Chat help - sushihusi - 13.02.2011

i have found it
https://sampforum.blast.hk/showthread.php?tid=135023