syntax error?
4 posts
• Page 1 of 1
syntax error?
hi all,
i am getting a syntax error on this line. cant work it out.
any help appreciated!!!
i am getting a syntax error on this line. cant work it out.
- Code: Select all
if(int1) && event_press(XB1_LS)) {
combo_run(Combo1);
any help appreciated!!!
-
toast - Sergeant First Class
- Posts: 19
- Joined: Sat Jul 18, 2020 5:48 pm
Re: syntax error?
Missing a closing bracket }
ConsoleTuner Support Team || ConsoleTuner Discord || InputSense Discord
- Mad
- Major General
- Posts: 4536
- Joined: Wed May 22, 2019 5:39 am
Re: syntax error?
Thats not it unfortunately. i get syntax error near unexpected token '&&'.
sorry, i didnt include the closing bracket in my post.
sorry, i didnt include the closing bracket in my post.
-
toast - Sergeant First Class
- Posts: 19
- Joined: Sat Jul 18, 2020 5:48 pm
Re: syntax error?
toast wrote:hi all,
i am getting a syntax error on this line. cant work it out.
- Code: Select all
if(int1) && event_press(XB1_LS)) {
combo_run(Combo1);
any help appreciated!!!
You are missing an opening parenthesis after if
- Code: Select all
if((int1) && event_press(XB1_LS)) {
combo_run(Combo1);
}
-
AnusPower - Private
- Posts: 1
- Joined: Thu Apr 08, 2021 9:13 pm
4 posts
• Page 1 of 1
Return to GPC1 Script Programming
Who is online
Users browsing this forum: No registered users and 91 guests