Jump to content
Sign in to follow this  
sabot10.5mm

2 statments exactly same. 1st errors out?

Recommended Posts

if (player getVariable ["FIREDLOCKOUT",[true,-1]] select 0) exitWith {hint "hi";};
if (player getVariable ["FIREDLOCKOUT",[true,-1]] select 0) exitWith {hint "hi";};

 

1st one was written in sublime text editor using the sqf syntax, 2nd using notepad++ why does it do this

Share this post


Link to post
Share on other sites

 scripted the statement on a mac then switched to windows to test. clicking EOL conversion> Macintosh (cr) in notepad++ fixed the problem.

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  

×