13.07.2011, 15:30
^ That makes no sense....
If the virtual world of a player doesnt equal the virtual world of the same player, return 0? WTF?
Time for you to go back to scripting basics
If the virtual world of a player doesnt equal the virtual world of the same player, return 0? WTF?
Time for you to go back to scripting basics
pawn Код:
public OnPlayerText(playerid, text[])
{
for(new i; i < MAX_PLAYERS; i++)
{
if(GetPlayerVirtualWorld(i) == GetPlayerVirtualWorld(playerid))
{
SendClientMessage(i, COLOR_WHITE, text);
}
}
return 0;
}