[Help] Naming the bots (NPC)
#1

Hello everyone. Well, I tried to do the following:
Putting a name above the head to bots (NPC).
As I do that?
Greetings and hope to elderly answers! : D
Reply
#2

Make a 3DTextLabel above their head.
Reply
#3

How?
Do you write for me?
Reply
#4

No I wrote for your blinking siggy. -.-
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Reply
#5

pawn Код:
public OnPlayerSpawn(playerid)
{
    if(!IsPlayerNPC(playerid)) return 0;
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
    new playername[64];
    GetPlayerName(playerid,playername,64);

    if(!strcmp(playername,"Boater",true)) {
        PutPlayerInVehicle(playerid, Boat, 0);
        SetSpawnInfo(playerid,0,255,1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
        new Text3D:boat = Create3DTextLabel("NPC_IDIOT(ID:0)",0x33AA33AA,30.0,40.0,50.0,40.0,0);
        Attach3DTextLabelToPlayer(boat, playerid, 0.0, 0.0, 0.5);
    }
I use NPC SCRIPT MADY BY FLAKE AND REDIRECT_LEFT V1CEC1TY, LOL
Reply
#6

Quote:
Originally Posted by varthshenon
Посмотреть сообщение
No I wrote for your blinking siggy. -.-
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
Because you don't know? -.-
Thank you SmileyForCheat!
Works!
Byeeee
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)