30.07.2014, 00:28
(
Последний раз редактировалось DaniceMcHarley; 01.06.2017 в 02:57.
)
------
stock SendInteriorMessage(playerid,COLOR,message[])
{
for(new i=0; i<MAX_PLAYERS;i++)
if(IsPlayerConnected(i))
{
if(GetPlayerInterior(playerid) == GetPlayerInterior(i))
{
SendClientMessage(i,COLOR,message);
// Will basicly, Send a message to players with same Interior.
}
}
}
stock SendVirtualWorldMessage(playerid,COLOR,message[])
{
for(new i=0; i<MAX_PLAYERS;i++)
if(IsPlayerConnected(i))
{
if(GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(i))
{
SendClientMessage(i,COLOR,message);
// Will basicly, Send a message to players with same virtual world.
}
}
}