3DTextLabel messing up between players
#1

Hello everybody, well the problem I am having is the 3DTextLabels I am using as names they are messing up between players. For example Player_A is having Player_B's name in the 3dTextLabel and Player_B is having nothing in his nametag, but the debug prints everything fine?

pawn Код:
public OnLoginSave(playerid) // Per player timer. (Starts when they log in)
{
        if(!Logged[playerid]) return 0; //
        new str_name[40];
        if(PlayerInfo[playerid][vM] == 1)
        {
            format(str_name,sizeof(str_name),"%s",NameEx(playerid));
            Update3DTextLabelText(Shi[playerid],WHITE,str_name);
            printf("(%s) STR_NAME: %s",NameEx(playerid),str_name);
            return 2;
        }
        return 1;
}
Prints:
Код:
(Player_A) STR_NAME: Player_A
(Player_B) STR_NAME: Player _B
Thanks in advance.
Reply


Messages In This Thread
3DTextLabel messing up between players - by DaniceMcHarley - 06.03.2015, 19:01
Re: 3DTextLabel messing up between players - by Misiur - 06.03.2015, 19:03
Re : 3DTextLabel messing up between players - by Etolas - 06.03.2015, 19:04
Re: 3DTextLabel messing up between players - by DaniceMcHarley - 06.03.2015, 19:08
Re: 3DTextLabel messing up between players - by Pottus - 06.03.2015, 19:10
Re: 3DTextLabel messing up between players - by DaniceMcHarley - 06.03.2015, 19:13
Re : 3DTextLabel messing up between players - by Etolas - 06.03.2015, 19:17
Re: 3DTextLabel messing up between players - by DaniceMcHarley - 09.03.2015, 16:17

Forum Jump:


Users browsing this thread: 4 Guest(s)