How to add bots in the vehicle has already been created? - 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: How to add bots in the vehicle has already been created? (
/showthread.php?tid=170008)
How to add bots in the vehicle has already been created? -
Tommy_CAR - 21.08.2010
How to add NPC bots in the vehicle has already been created?
Re: How to add bots in the vehicle has already been created? -
boelie - 21.08.2010
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
Re: How to add bots in the vehicle has already been created? -
Tommy_CAR - 21.08.2010
Код:
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?
Re: How to add bots in the vehicle has already been created? -
BP13 - 21.08.2010
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)
Re: How to add bots in the vehicle has already been created? -
Tommy_CAR - 21.08.2010
Thanks to everyone for their help!
btw.
Works perfectly!