SA-MP Forums Archive
Solved! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Solved! (/showthread.php?tid=121018)



Solved! - snabbo - 14.01.2010

Solved!


Re: [HELP] Is this possible? - snabbo - 14.01.2010

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


Re: [HELP] Is this possible? - Jakku - 14.01.2010

What you actually want from it?


Re: [HELP] Is this possible? - Correlli - 14.01.2010

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


Re: [HELP] Is this possible? - snabbo - 14.01.2010

explain that can you?


Re: [HELP] Is this possible? - Correlli - 14.01.2010

https://sampwiki.blast.hk/wiki/Create3DTextLabel
https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer
..


Re: [HELP] Is this possible? - snabbo - 14.01.2010

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


Re: [HELP] Is this possible? - MenaceX^ - 14.01.2010

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;
}



Re: [HELP] Is this possible? - snabbo - 14.01.2010

not work...


Re: [HELP] Is this possible? - MadeMan - 14.01.2010

NPC name is "strartpop" or "startpop" ?