SA-MP Forums Archive
Npc question - 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: Npc question (/showthread.php?tid=163879)



Npc question - FireCat - 29.07.2010

I have a question?

How can i create a bot that dosnt need to be in the car?

iv done ongamemodeinit

Код:
ConnectNPC("minigun","minigun");
then onplayerspawn

Код:
if(!strcmp(npcname, "minigun", true))
    {
      return 1;
    }
because on the tutorial on how to create a npc they juts say skip this step i done it then the bot just stays at the spawn pint help me




[GDZ]leader



Re: Npc question - Vince - 29.07.2010

SetPlayerPos, SetPlayerInterior, etc work on NPC's too. Just set it where you want it to be.