Home   Help Search Login Register  

Author Topic: Vehicle respawn?  (Read 2116 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]