get npc name

Tio Akima

New member
Messages
349
Points
0
Age
36
Discord
TioAkima#0636
Github
Tio Akima
Emulator
gys, what is the function that returns the name of npc through its id I looked in sript_comands and did not find it.

(I am creating a duplicate of npc and removing it in another file, but to remove (duplicateremove) I need the name of npc.)

 
use strnpcinfo() like

Code:
strnpcinfo(NPC_NAME_UNIQUE, "", npc id)
 
Back
Top