NPC name
#4

Quote:
Originally Posted by Owen007
Посмотреть сообщение
can u give some code example?
In OnPlayerSpawn, check if the player is NPC and if its name is the bot you connected (see here: https://sampforum.blast.hk/showthread.php?tid=95034) and just create and attach. An example of both functions can be seen here: https://sampwiki.blast.hk/wiki/Attach3DTextLabelToPlayer

All you have to do is replace the text and color.
Reply


Messages In This Thread
NPC name - by Owen007 - 03.07.2016, 09:12
Re: NPC name - by Konstantinos - 03.07.2016, 09:20
Re: NPC name - by Owen007 - 03.07.2016, 09:23
Re: NPC name - by Konstantinos - 03.07.2016, 09:26
Re: NPC name - by Owen007 - 03.07.2016, 10:25
Re: NPC name - by Spmn - 03.07.2016, 10:30
Re: NPC name - by Konstantinos - 03.07.2016, 10:40

Forum Jump:


Users browsing this thread: 1 Guest(s)