bot refuses to get in vehicle
#1

A particular annoying bot in my server refuses to get inside vehicles.

I clearly do
Code:
PutPlayerInVehicle(bot, car, 0);
but the bot just teleports to the vehicle and goes under the car. (doesn't go in it).

What the hell is wrong with this...I've been working on this for almost two days and still no progress....The bot is spawned as well.

(Also my /get command won't work on the bot so maybe its a spawn type bug??)

Thanks.
Reply
#2

Are you using CNPC, or the standard bot system?
Reply
#3

Standard bot system of course.
Reply
#4

in the npcmode.. is the recording defined as onfoot? if so it cannot enter a vehicle no matter what

/get won't work because i noticed with bots (trains) it keeps setting there position
Reply
#5

Code:
#define RECORDING_TYPE 1
1 = onvehicle, right?
Reply
#6

pawn Code:
0 - PLAYER_RECORDING_TYPE_NONE
1 - PLAYER_RECORDING_TYPE_DRIVER
2 - PLAYER_RECORDING_TYPE_ONFOOT
hmm... and it seems that you are putting it inside a vehicle as a driver...

was the recording recorded in the driver's seat only?
Reply
#7

Yeah.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)