Jump to content
Sign in to follow this  
1para{god-father}

Return true/false from Parameters

Recommended Posts

What i am trying to do is from my parameters at game start select if a bit of code will run , but it will return 1/0 how can i get it to return true/false so the below will work ?

My Description.ext

// paramsArray[19] // 
		title = "Allow the Spawn:";
		values[] = {0,1};
		texts[] = {"No","Yes"};
		default = 1;
       };

Some code in a .sqf

if (paramsarray select 19) then {
 run my code here etc...
};

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×