BOT Help
#1

Hey all i recorted BOT all is done my Bot name is "Guard"
and i got .rec file, my file "Guard.rec"

What else i need do make?
do get work my Bot?
Reply
#2

(SORRY FOR DOUBLE POSTING)

Helper get +rep
and +respect
Reply
#3

just use this:
ON TOP OF SCRIPT UNDER includes:
pawn Код:
// BOT Messages
new RandomMessages[][] =
{
"randommsg1",
"randommsg2",
"randommsg3"
};
on bottom of script:
pawn Код:
public  AutomaticMessage()
{
    new RandomColor[] = {COLOR_RED, COLOR_GREEN, COLOR_YELLOW, COLOUR_BLUE}; // Orange ( first ) and blue ( second )

    new RandomMessage = random(sizeof(RandomMessages));
    SendClientMessageToAll(RandomColor[random(sizeof(RandomColor))], RandomMessages[RandomMessage]); // -1 is a colour for a message.
    return true;
}
i hope i helped you out XD

greets niels
Reply
#4

@niels44
What is this. He asked for NPCs.
@James
[Tutorial] Creating a new NPC by kc
Reply
#5

Thanks dude +rep
Reply
#6

Man its recorting wrong place! its saveing in ScriptFiles,
what i need do to?
Reply
#7

You have to put it in <Your SA-MP server directory>/npcmodes/recordings/
That's in the tutorial, too.
Reply
#8

In this tutorial, we will be making a vehicle path, so get in a vehicle, and type /vrecord mynpc (Note you must be logged into rcon) to start recording.
Drive around a bit, and when you are finished type /stoprecord.
Close the game, and go to your scriptfiles directory, there should be a file called mynpc.rec. Move that file to <Your SA-MP server directory>/npcmodes/recordings/
Done? Okay, great! You have now recorded a path for your NPC, and moved it into the required directory.
Reply
#9

lol i didnt maked /vrecord i used /ofrecord so this Tutorial dont help me!
Reply
#10

Quote:
Originally Posted by James Coral
Посмотреть сообщение
lol i didnt maked /vrecord i used /ofrecord so this Tutorial dont help me!
OFFTOPIC:

Before posting such as a comment like this we are trying our best to fix/solve/help you on your problems. its not our fault that you use /ofrecord. read NPC Tutorials. we spent our time for all beginners then what? they gonna return like this? we just waste a time for this so please pay attention and watch your words.

ONTOPIC:
/ofrecord - On Foot NPC Recording
/vrecord - Vehicle NPC Recording

to script a npc and load the .rec read the NPC Making tutorial.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)