NPCs/Bots walking and shoot players ?
#1

Hi,

Today i would like to do npcs armed walking in an area and who shoot the players when they are close to them.
But I don't know how to do this :/

I know how to create npcs walking but I don't know how to give them a gun and make them shoot players

Sorry for my bad english ^^

Thank you in advance for your answers
Reply
#2

Hello Leonardo_Gonzalez,
i recommend to use a plugin (for example: FCNPC).

NPC's do also have IDs. So you can use "GivePlayerWeapon(npcid, weaponid, ammunation);".
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)