adding 3d text to a bot :P
#1

hey there thanks for reading how would i attach 3d text to my bot i did this but i get errors:
Код:
 	ConnectNPC("infer","infernusbot");
 	inferbottext:Create3DTextLabel("Mr Bot", 0xE60000FF, 0.0, 0.0, 0.0, 40.0, 0);
 	Attach3DTextLabelToPlayer(inferbottext, infer, 0.0, 0.0, 0.0);
(the error is on the 2nd and 3rd line
Reply
#2

and those errors are?
Reply
#3

Код:
 	new bot = ConnectNPC("infer","infernusbot");
 	new Text3D:bottext = Create3DTextLabel("Mr Bot", 0xE60000FF, 0.0, 0.0, 0.0, 40.0, 0);
 	Attach3DTextLabelToPlayer(bottext, bot, 0.0, 0.0, 0.0);
Not sure if it works, but try.
Reply
#4

ConnectNPC does not return the ID of the bot.

You need to store it some other way.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)