Posts: 1,534
Threads: 179
Joined: Apr 2009
Hey,
can anyone help me on how to create NPC Names above the NPC's heads, so they'll show for everyone?
Posts: 1,534
Threads: 179
Joined: Apr 2009
but that's just a text label, i want it like a real name with id
Posts: 53
Threads: 2
Joined: Mar 2012
Reputation:
0
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
Posts: 1,534
Threads: 179
Joined: Apr 2009
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
Posts: 53
Threads: 2
Joined: Mar 2012
Reputation:
0
hey who said not ever checked a_players its alredy incuded by samp