Help Please
#1

When player enter in same interior from different locations,the players who teleported from A to don't see players teleported from B and don't see what eachothers ( A and B players ) talks.

Thank's very much.
Reply
#2

I didnt understand you, but
pawn Код:
SetPlayerVirtualWorld(playerid, 3);
Reply
#3

you mean they teleported or they walked into a checkpoint? and yea maybe check your virtual worlds on both teleports to see if there the same.
Reply
#4

If i set virtual world they don't see eachothers...but see chat...
Reply
#5

Yeah, virtual worlds. The word says. It sets a player to "another" world, they can see the chat but they cant see each other. To see each other you must set the same worlds for both players (ex. 3)
Reply
#6

Yes i know,but i don't wan't to see eachother and i don't want to see B what A says and viceversa
Reply
#7

Ooh. Well, you can use this:

pawn Код:
for(new i; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                if(GetPlayerVirtualWorld(playerid) <  WORLD_HERE
                          {
                        format(cs,sizeof(cs),"[%d] %s",playerid,text);
                    SendPlayerMessageToPlayer(i,playerid,cs);

                   }
                return 0;
            }
        }
Forums messed up my indentation
Reply
#8

I will try .... come back with replies
Reply
#9

Quote:
Originally Posted by alpha500delta
Посмотреть сообщение
Ooh. Well, you can use this:

pawn Код:
for(new i; i < MAX_PLAYERS; i++)
        {
            if(IsPlayerConnected(i))
            {
                if(GetPlayerVirtualWorld(playerid) <  WORLD_HERE
                          {
                        format(cs,sizeof(cs),"[%d] %s",playerid,text);
                    SendPlayerMessageToPlayer(i,playerid,cs);

                   }
                return 0;
            }
        }
Forums messed up my indentation
where to put this ?
Reply
#10

Dont copy that... it has some bugs. If you do, you will have to fix it

Anyway, put under "OnPlayerText"
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)