Nametag not showing over NPC
#1

Ok my NPC spawns and I have added a 3D Text Label over the NPC. However I cannot see the 3D Text Label.


pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
        new npcname[MAX_PLAYER_NAME];
        GetPlayerName(playerid, npcname, sizeof(npcname));
        {
        PutPlayerInVehicle(playerid, MyFirstNPCVehicle, 0);
        new Text3D:Motherdog = Create3DTextLabel("[BOT]Motherdog", 0x33AA33FF, 10.0, 20.0, 20.0, 20.0, 0);
        Attach3DTextLabelToPlayer(Motherdog, playerid, 0.0, 0.0, 0.3);
        }
        return 1;
    }
    return 1;
}
Reply


Messages In This Thread
Nametag not showing over NPC - by captainjohn - 13.01.2013, 14:35
Re: Nametag not showing over NPC - by Dwayne-Pheonix - 13.01.2013, 15:09
Re: Nametag not showing over NPC - by captainjohn - 14.01.2013, 17:57

Forum Jump:


Users browsing this thread: 1 Guest(s)