SA-MP Forums Archive
NPC can open fire ? - 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 can open fire ? (/showthread.php?tid=98304)



NPC can open fire ? - Diler - 20.09.2009

hi
NPC can shoot the players?



Re: NPC can open fire ? - SpiderPork - 20.09.2009

No(t yet).


Re: NPC can open fire ? - ev0lution - 20.09.2009

If you record yourself shooting, the NPC will also shoot.

Edit:
And the bullets do damage players. Record yourself with a minigun shooting, load the NPC, and walk in front of it, see what happens :P


Re: NPC can open fire ? - boelie - 20.09.2009

Yes you'll die !


Re: NPC can open fire ? - Walk_Forkey - 20.09.2009

Yes, yes


Re: NPC can open fire ? - LukeGFX - 20.09.2009

Quote:
Originally Posted by ev0lutionnn
If you record yourself shooting, the NPC will also shoot.

Edit:
And the bullets do damage players. Record yourself with a minigun shooting, load the NPC, and walk in front of it, see what happens :P
He threw the minigun away and raped me with various animation commands, now my SA-MP won't load.


Re: NPC can open fire ? - boelie - 20.09.2009

i guess...if its possible with a command to stop the npc from playing then its also possible to make a animation like laying death on the ground after the 'stopnpcplayback '


Re: NPC can open fire ? - SpiderPork - 20.09.2009

You can't make a NPC attack a specific player, but you can make it shoot at some position...


Re: NPC can open fire ? - Diler - 20.09.2009

Quote:
Originally Posted by SpiderPork
You can't make a NPC attack a specific player, but you can make it shoot at some position...
you can give me code ?


Re: NPC can open fire ? - scandragon - 20.09.2009

Quote:
Originally Posted by Diler
Quote:
Originally Posted by SpiderPork
You can't make a NPC attack a specific player, but you can make it shoot at some position...
you can give me code ?
The "code" is /ofrecord..
Get yourself a gun and record yourself shooting.. The NPC will stand on the same spot, shooting in the same direction.

I believe it's been mentioned a few times in this topic already