Author Topic: Local Chat  (Read 986 times)

Hello, I'm trying to make a local chat for my server but for some odd reason when I type something, Ex:
Quote
Hello, my name is bob.
All of the other args I didn't not set have Myname then a zero after it.

Code: [Select]
function serverCmdL(%client,%m,%m2,%m3,%m4,%m5,%m6,%m7,%m8,%m9,%m10,%m11,%m12,%m13,%m14,%m15,%m16,%m17,%m18,%m19,%m20)
{
%position=%client.player.position;
InitContainerRadiusSearch(%position,15,$TypeMasks::PlayerObjectType);
$LocalMsgString='\c7%1 says:\c6 %2 %3 %4 %5 %6 %7 %8 %9 %10 %11 %12 %13 %14 %16 %16 %17 %18 %19 %20';
while((%targetObject=containerSearchNext()) !$= 0)
{
%c = %targetObject.client;
messageClient(%c,'',$LocalMsgString,%client.name,%m,%m2,%m3,%m4,%m5,%m6,%m7,%m8,%m9,%m10,%m11,%m12,%m13,%m14,%m15,%m16,%m17,%m18,%m19,%m20);
}
}

I have already accomplished this without using a custom Servercmd. I made it so if you talk, you do local chat. I am also implementing Team chat with this, and then a whisper system for Regular talking. Then a radio system. Why are you doing this now? This was a project for Survival RP.

What makes you think I was making this for "Survival Rp", did you ever think I just wanted to make Local Chat, also I am using normal chat as Global chat.

I didn't say you were making this for Survival RP, you were on the team and you volunteered to do this, but then you quit when I started making it. I plan to release this system of the Survival RP Game mode, but there will be no option for Global chat (unless you turn it off using the RTB server control, which I have already put in along with setting the radius search) I don't care if you make this, but mine might be better. I have some other parts of the system planned that I will not reveal at this moment in time.

Disregard this.
« Last Edit: May 31, 2009, 02:22:05 PM by Kunit »

Disregard this.
Ok....?

Anyway, I realize this and all I want is some help, for my own version of course.

« Last Edit: May 31, 2009, 03:12:42 PM by AGlass0fMilk »