How to add bots in the vehicle has already been created?
#1

How to add NPC bots in the vehicle has already been created?
Reply
#2

you have to give that vehicle wich is already created a value
so do something like this;

new somevehicle;

somevehicle = addstaticvehicle bla bla bla bla

now that you have a value you can just put the npc in a vehicle with

PutPlayerInVehicle(playerid,somevehicle, 0);

if you have a recording with a driving npc ready then it should work
Reply
#3

Код:
C:\Documents and Settings\Owner\Desktop\REVEN\filterscripts\vlak.pwn(19) : error 017: undefined symbol "addstaticvehicle"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
how to fix it?
Reply
#4

Quote:
Originally Posted by Tommy_CAR
Посмотреть сообщение
Код:
C:\Documents and Settings\Owner\Desktop\REVEN\filterscripts\vlak.pwn(19) : error 017: undefined symbol "addstaticvehicle"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
how to fix it?
its AddStaticVehicle (Note the caps)
Reply
#5

Thanks to everyone for their help!
btw.
Works perfectly!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)