SA-MP Forums Archive
Bot doesn't enter to 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)
+--- Thread: Bot doesn't enter to vehicle (/showthread.php?tid=342671)



Bot doesn't enter to vehicle - Shawwarma - 14.05.2012

Hey guys
I have a problam, I created bot, and he doesn't want to get in my vehicle!
he is stand on the roof of the vehicle...
What to do?
The code:
Main Mod:
http://pastebin.com/P1xJpc52
NPC file:
http://pastebin.com/r81bcjZY

I have one vehicle in the server is in the Filterscript of the vehicle system...

The system of the npc is like this:
I go with taxi next to him, the npc detecte me and get in my vehicle
this what need to be

Please Help


Re: Bot doesn't enter to vehicle - Georgi166 - 14.05.2012

I dont think that the NPC Can detect you and get in your car -_-, They can move to you but wont get in the car, i think.


Re: Bot doesn't enter to vehicle - Shawwarma - 14.05.2012

Look in the code...
I spawn the NPC and in OnPlayerSpawn I put PutPlayerInVehicle