Passenger NPC?
#1

Evening,

Just wondering how I can get an NPC in a vehicle as a passenger. I've been trying all night but with no avail. Also, searching has not helped, as results push me toward to the NPC tutorial, which is not what I'm after.

I'm using the 'npcidle' script.

Regards,
Ash
Reply
#2

Have you tried PutPlayerInVehicle?
Reply
#3

Yes, the bot just stands there like a lemon.
Reply
#4

Odd. I would assume using that native would of worked but setting the seat to passenger.
Reply
#5

Well, the bot needs to go in the back of an ambulance as a player enters a checkpoint surrounding the bot, , and the bot ID is stored as they connect (which works successfully). The code is then:
pawn Код:
PutPlayerInVehicle(para_PlayerJob[playerid][paraBotID], GetPlayerVehicleID(playerid), 2);
However, this doesn't work!
Reply
#6

Sorry for the bump, however ApplyAnimation doesn't work on these bots either.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)