adding 3d text to a bot :P - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: adding 3d text to a bot :P (
/showthread.php?tid=95243)
adding 3d text to a bot :P -
[mad]MLK - 03.09.2009
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
Re: adding 3d text to a bot :P -
BP13 - 03.09.2009
and those errors are?
Re: adding 3d text to a bot :P -
Finn - 03.09.2009
Код:
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.
Re: adding 3d text to a bot :P -
JaTochNietDan - 03.09.2009
ConnectNPC does not return the ID of the bot.
You need to store it some other way.