bot refuses to get in vehicle - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: bot refuses to get in vehicle (
/showthread.php?tid=270237)
bot refuses to get in vehicle -
lolumadd_ - 19.07.2011
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.
Re: bot refuses to get in vehicle -
Sasino97 - 19.07.2011
Are you using CNPC, or the standard bot system?
Re: bot refuses to get in vehicle -
lolumadd_ - 19.07.2011
Standard bot system of course.
Re: bot refuses to get in vehicle -
Donya - 19.07.2011
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
Re: bot refuses to get in vehicle -
lolumadd_ - 19.07.2011
Code:
#define RECORDING_TYPE 1
1 = onvehicle, right?
Re: bot refuses to get in vehicle -
Donya - 19.07.2011
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?
Re: bot refuses to get in vehicle -
lolumadd_ - 19.07.2011
Yeah.