10.10.2011, 10:28
Make your own function using stock. SOmething like SendIntMessage like this one:
This one will send message to all players in same interior and virtual world as sender.
EDIT: Wait. This might wont work
PHP код:
stock SendIntMessage(playerid,COLOR,message[])
{
for(new i=0; i<MAX_PLAYERS;i++)
if(IsPlayerConnected(i))
{
if(GetPlayerInterior(playerid) == GetPlayerInterior(i))
{
if(GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i))
{
SendClientMessage(i,COLOR,message);
}
}
}
}
EDIT: Wait. This might wont work