OFPEC Forum
Addons & Mods Depot => OFP - Addons & Mods General => Topic started by: Trenchfeet on 21 Jun 2003, 12:42:04
-
Hi all i'am having a simple problem but i still can't work it out???
class eventhandlers
{
init = "if !(isengineon (_this Select 0)) then {[_this select 0] exec {\ju52fp\opendoors.sqs}} else{[_this select 0] exec {\ju52fp\closedoors.sqs}}"; "[_this select 0] exec "\ju52fp\float.sqs"";
bold works fine
italic it doesn't i've tried changing it too just [this] and moving the " but still not luck
any help would be much appreciated
-
Try this:
init = "if !(isengineon (_this Select 0)) then {[_this select 0] exec {\ju52fp\opendoors.sqs}} else{[_this select 0] exec {\ju52fp\closedoors.sqs}}; [_this select 0] exec ""\ju52fp\float.sqs""";
Or this:
init = "if !(isengineon (_this Select 0)) then {[_this select 0] exec ""\ju52fp\opendoors.sqs""} else{[_this select 0] exec ""\ju52fp\closedoors.sqs""}; [_this select 0] exec ""\ju52fp\float.sqs""";
-
The first one worked ;D
Thank you,
Thank you,
Thank you,
Thank you,
Thank you
-
Glad to help. ;)