NPC Bug, The NPC Gets out of the vehicle. Please help!
#1

***Sorry for the bus mode, because the bus got bugged XD****

Here picture:
/imageshack/img6/3140/samp098q.png

The man is out of the bus and he not driving.


The second picture, is when I teleport to him what i see:
/imageshack/img180/5812/samp099.png



How to fix that thing?
I searched on my mode "RemoverPlayerFromVehicle"
And function I see, I add before "if(IsPlayerNPC(playerid)........ return 1; }"

And still doesn't any change.


Reply
#2

You have to record the track with the same vehicle as the bot will use. Wich means that you have to use a bus to record.
If this aint the problem. Try using kc's tutorial
Reply
#3

Quote:
Originally Posted by FUNExtreme
1. You have to record the track with the same vehicle as the bot will use. Wich means that you have to use a bus to record.
2. If this aint the problem. Try using kc's tutorial
1. Thats what I did... I record with the bus.
2. How do you think I create the bot? I use kc's tutorial offcourse
Reply
#4

Do you use CreateVehicle or AddStaticVehicle?
Reply
#5

Quote:
Originally Posted by FUNExtreme
Do you use CreateVehicle or AddStaticVehicle?
AddStaticVehicle
Reply
#6

Tell me:
- .rec name
- the npcmode script
Reply
#7

Same thing happens to me,, like every 3~5 secs the bot gets out of the vehicle, maybe its just with the new client , idk...
Reply
#8

It works fine for me :S
Reply
#9

Quote:
Originally Posted by FUNExtreme
Tell me:
- .rec name
- the npcmode script
record file name:
Bus.rec

NPCmode:
BusRoute

(Offcourse I wrote in "BusRoute" the .rec file at the first line.)

Here is what I did in OnGameModeInit:
ConnectNPC("Bus_Man","BusRoute");
Reply
#10

Managers, Lock this topic please
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)