put 3D Text Labels overhead to npc
#5

pawn Код:
public OnPlayerConnect(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        new string[32], NPCName[MAX_PLAYER_NAME], TestBotLabel[MAX_PLAYERS];

        GetPlayerName(playerid, NPCName, sizeof NPCName);
        format(string, sizeof string, "%s (%d)", NPCName, playerid);
        TestBotLabel[playerid] = Create3DTextLabel(string, COLOR_WHITE, 0, 0, 0, 40, 0, true);
        Attach3DTextLabelToPlayer(Jenny_Laurent[playerid], playerid, 0, 0, 0.4);
        SetPlayerColor(playerid, COLOR_WHITE);
    }
}
You got to define TestBotLabel..
Reply


Messages In This Thread
put 3D Text Labels overhead to npc - by NTVbeleza - 03.03.2014, 17:30
Re: put 3D Text Labels overhead to npc - by Nucky - 03.03.2014, 17:52
Re: put 3D Text Labels overhead to npc - by [..MonTaNa..] - 03.03.2014, 18:06
Re: put 3D Text Labels overhead to npc - by NTVbeleza - 03.03.2014, 18:39
Re: put 3D Text Labels overhead to npc - by Nurgle4 - 03.03.2014, 19:11
Re: put 3D Text Labels overhead to npc - by NTVbeleza - 03.03.2014, 19:32
Re: put 3D Text Labels overhead to npc - by [..MonTaNa..] - 03.03.2014, 21:29
Re: put 3D Text Labels overhead to npc - by NTVbeleza - 04.03.2014, 00:51
Re: put 3D Text Labels overhead to npc - by [..MonTaNa..] - 04.03.2014, 00:56
Re: put 3D Text Labels overhead to npc - by NTVbeleza - 04.03.2014, 01:07

Forum Jump:


Users browsing this thread: 2 Guest(s)