NPC Names
#1

Hey,

can anyone help me on how to create NPC Names above the NPC's heads, so they'll show for everyone?
Reply
#2

See this.
Reply
#3

but that's just a text label, i want it like a real name with id
Reply
#4

Quote:
Originally Posted by Dripac
Посмотреть сообщение
but that's just a text label, i want it like a real name with id
There is no seperate function for it. You have to do it on the 3dtextlabel wise.
Reply
#5

hmmmmmmmmmmmmm
i have no information about npc's but i think you can do it by when you join your npc in the server from the function on gamemode int then as if i know npc takes id's too like id 0 and like that so write this line in the call back on gamemode int '
SetPlayerName(0,[BOT]KILLER);
0(zero) if the npc's id = 0 you need to chage it
dont know a bit that it works or not but after thinking with logic it should work
Reply
#6

Quote:
Originally Posted by TRIPLE-xXx-GAMEING
Посмотреть сообщение
hmmmmmmmmmmmmm
i have no information about npc's but i think you can do it by when you join your npc in the server from the function on gamemode int then as if i know npc takes id's too like id 0 and like that so write this line in the call back on gamemode int '
SetPlayerName(0,[BOT]KILLER);
0(zero) if the npc's id = 0 you need to chage it
dont know a bit that it works or not but after thinking with logic it should work
There is no SetPlayerName function
Reply
#7

hey who said not ever checked a_players its alredy incuded by samp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)