Solved!
#1

Solved!
Reply
#2

It is for NPC that he text for always comes above its hooft, and that then…
Reply
#3

What you actually want from it?
Reply
#4

It's better if you use 3d-text instead of chat-bubble.
Reply
#5

explain that can you?
Reply
#6

https://sampwiki.blast.hk/wiki/Create3DTextLabel
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
..
Reply
#7

Can you make perhaps that script?
I get of it nothing…
Reply
#8

Change this:
pawn Код:
public startpop(playerid)
{

  if(IsPlayerNPC(playerid))
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
       if(!strcmp(npcname, "strartpop", true))
    {
       SetPlayerChatBubble(playerid, "Welkom in ******!", 0xFF0000FF, 100.0, 100000);

    }
    return 1;
  }
  return 1;

}
To this:
pawn Код:
public startpop()
{
  for(new playerid;playerid<MAX_PLAYERS;playerid++)
  {
    if(IsPlayerNPC(playerid))
    {
      new npcname[MAX_PLAYER_NAME];
      GetPlayerName(playerid, npcname, sizeof(npcname));
      if(!strcmp(npcname, "strartpop", true))
        SetPlayerChatBubble(playerid, "Welkom in ******!", 0xFF0000FF, 100.0, 100000);
    }
  }
  return 1;
}
Reply
#9

not work...
Reply
#10

NPC name is "strartpop" or "startpop" ?
Reply


Forum Jump:


Users browsing this thread: 6 Guest(s)