HELP with NPCs
#1

Hey there.
How can I make standing NPCs I need some guard NPCs in a army base, but they should have only a Colt45 and standing , not attacking no one, and no dying can you help please?
Reply
#2

register a npc to the base ... you have to no move and use a weapon
Reply
#3

I don't know how to make NPCs, that's why I ask.
Reply
#4

Help please I want to make a security cop NPC wich will only stay not moving and not doing any action, please help, I'll get the coordinates, thanks.
Reply
#5

Anyone? Please I need it...
Reply
#6

Look through the tutorials section and there's a thread teaching you how to make NPCs. Just when you recording for the file, don't move.
Reply
#7

well i know that you need to load the filterscript npc_record and in the game go to the place and put the npc in one place as you want him to be on foot then do command /ofrecord "name" for name put the name of the thing you want it for like soldier and it will start to record then wait like two seconds and do /stoprecord and put the .rec file thats going to be in scriptfiles and move it to npcmodes and make a new pawn file and put this in just remove cruise1 and put the name of your npc

#define RECORDING "cruise1" //This is the filename of your recording without the extension.
#define RECORDING_TYPE 2 //1 for in vehicle and 2 for on foot.

#include <a_npc>
main(){}
public OnRecordingPlaybackEnd() StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCEnterVehicle(vehicleid, seatid) StartRecordingPlayback(RECORDING_TYPE, RECORDING);
public OnNPCExitVehicle() StopRecordingPlayback();
Reply
#8

This has all you need for creating a NPC.

http://forum.sa-mp.com/showthread.ph...light=creating
Reply
#9

Didn't understand anything can you help, with my request?
Reply
#10

Start the game and go to the place where you want the Guard to be standing at. Do /rcon loadfs npc_record and then do /ofrecord (Don't move after doing this because your actions are now being recorded for further playback), and after a two seconds, do /stoprecord. Post a message when you are done doing this.(I am going to show you this step by step because it will be easier for you)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)