Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Vehicle respawn?  (Read 2878 times)

0 Members and 1 Guest are viewing this topic.

mrshambler

  • Guest
Vehicle respawn?
« on: 25 Aug 2002, 20:16:52 »
How do i make vehicles respawn?

thx in advance!    :cheers:

Offline Ugga

  • Members
  • *
Re:Vehicle respawn?
« Reply #1 on: 26 Aug 2002, 17:05:02 »
create a script file, exec it and use the following lines :

? (NOT (alive "vehiclename")): "vehiclename"="vehicletype" createvechile getmarkerpos "markername"

do this for each vehicle you want to respawn

oh...and the script must loop

this should do it, if you then want the vehicles to spawn on init use the following lines

_playerList = [w1,w2,w3,w4]
Server = _playerList select 0
? (not (Player == Server)): exit

;(above lines are requried or BAD things will happend ;D )

? (NOT (alive "vehiclename")): "vehiclename"="vehicletype" createvechile getmarkerpos "markername"

that should do it

visit
http://ghm.spydar.com/
there you'll find a turorial
« Last Edit: 26 Aug 2002, 17:11:13 by Ugga »
BRAKET THIS!!

Mike

  • Guest
Re:Vehicle respawn?
« Reply #2 on: 06 Sep 2002, 05:22:51 »


[attachment deleted by admin]
« Last Edit: 06 Sep 2002, 05:23:48 by Mike »

Akodo

  • Guest
Re:Vehicle respawn?
« Reply #3 on: 06 Sep 2002, 06:20:35 »


[attachment deleted by admin]