08.06.2012, 17:03
pawn Код:
new Worlds[MAX_PLAYERS]; // Global Var
//Reset it on Discconect / Connect
public OnPlayerText(playerid, text[])
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
if(!IsPlayerConnected(i)) continue;
{
if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid))
{
SendClientMessage(i, 0xFF0000FF, text);
return 0;
}
return 0;
}
}
return 1;
}
the above guy mentioned it perfectly though