I'm not sure what you want to achieve, Google Translate might be wrong, but if I'm correct you want to make something like this:
Code:
new player1, player2;
new playerWorld = GetPlayerVirtualWorld(playerid);
if (playerWorld(player1) == playerWorld(player2))
// do what you want here