Home   Help Search Login Register  

Author Topic: How to make a red car appear  (Read 553 times)

0 Members and 1 Guest are viewing this topic.

Offline punisher

  • Members
  • *
How to make a red car appear
« on: 03 Jan 2004, 13:30:00 »
hi
ok here is the scenario
there is a flag pole with the action on it "Make car"
now when u choose it a red car appers.
How would u go about doing that?
thx
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat

gundernak

  • Guest
Re:How to make a red car appear
« Reply #1 on: 03 Jan 2004, 14:02:38 »
name the flag to mayflag

put this to the flag init field: this addaction["Make Car","car.sqs"]

create a car.sqs file to the folder of your own mission

put this to car.sqs:

_skodacar = "SkodaRed" createVehicle getpos myflag

~1

exit



gundernak

  • Guest
Re:How to make a red car appear
« Reply #2 on: 03 Jan 2004, 14:11:10 »
sorry, name the flag to myflag

Offline punisher

  • Members
  • *
Re:How to make a red car appear
« Reply #3 on: 03 Jan 2004, 18:07:28 »
cheers m8 worked like a charm
The Gimp clan- pushing the limits of OFP
http://www.youtube.com/user/Pigdogmeat