Chat differs by Virtual World or by Variable
#1

Hello.

I want to make chat invisible in case two people are in different worlds or have different variables.
I want the message to be broadcasted only if two people are in the same world or have same variable.

public OnPlayerText(playerid,...)

Any help?
Reply
#2

In OnPlayerText(playerid,text[]), simply loop through all players, check for their virtual words and send them a client message using "text" from "OnPlayerText(playerid,text[]).
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)