SA-MP Forums Archive
NPC weapon? - 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 weapon? (/showthread.php?tid=102450)



NPC weapon? - Rickyboy30 - 15.10.2009

Hey, I tried to add a NPC weapon with the following lines:

Код:
			GivePlayerWeapon(playerid,29,125);
			SetPlayerArmedWeapon(playerid,29);
But, it's not working.

It's simply made to let a NPC walk around with a MP5.
How to do that ??

Thanks


Re: NPC weapon? - Kurence - 15.10.2009

record that npc with mp5 selected


Re: NPC weapon? - kman - 15.10.2009

yea like he said because i doubt they can do anything with a gun or at all unless its recorded


Re: NPC weapon? - V1ceC1ty - 16.10.2009

whatever you record with an npc is what comes up when being played. Shooting, turning ect it all shows up.


Re: NPC weapon? - saiberfun - 16.10.2009

Quote:
Originally Posted by √№ceC№ty
whatever you record with an npc is what comes up when being played. Shooting, turning ect it all shows up.
not everything but almost everything
the aiming goes only on turning but not lowering or going up
so it can only shoot 360° around it to the side but not up or down^^