GPC2 Language Reference
Re: GPC2 Language Reference
Only thing about the link is I don't really sign up to things but that's just me.
- bonefisher
- Lieutenant General
- Posts: 5413
- Joined: Thu Jan 29, 2015 10:49 am
Re: GPC2 Language Reference
pablogroup wrote:I was actually thinking if there were some way to link to scripts (https://github.com/J2Kbr/GtunerIV/issues/85), we could add links to scripts that make good use of particular functions.
With the web interface, yes, add links to script is just an matter of copy-and-paste!
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: GPC2 Language Reference
Oh so there will be a web interface coming? Sweet!
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: GPC2 Language Reference
I'm testing the printf() function, and added this to my init section:
printf("test");
But it didn't display anything in the compile window. What am I doing wrong?
printf("test");
But it didn't display anything in the compile window. What am I doing wrong?
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: GPC2 Language Reference
pablogroup wrote:Oh so there will be a web interface coming? Sweet!
yes, definitively.
pablogroup wrote:I'm testing the printf() function, and added this to my init section: printf("test"); But it didn't display anything in the compile window. What am I doing wrong?
you are doing right:
- Code: Select all
init {
printf("test");
}
the message is show in the output panel:
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: GPC2 Language Reference
Ok thanks, it's definitely not working for me. Is this only working on an unreleased version of Gtuner IV?
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: GPC2 Language Reference
pablogroup wrote:Ok thanks, it's definitely not working for me. Is this only working on an unreleased version of Gtuner IV?
actually this should work with the latest beta version available for download. Have you checked on win and mac versions? I tested on win, perhaps it is an bug on mac port.
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Re: GPC2 Language Reference
Yup I'm on Mac, but I just checked on my PC and it's the same:
Setup: XIM Apex, T2, K780 keyboard, G Pro Wireless mouse, SteelSeries 4HD pad, DXRacer armrest, LucidSound LS30 headset, Netduma router, Ubiquiti UniFi AP LR
My R6 script: https://youtu.be/x-9NtxyySVM
My R6 script: https://youtu.be/x-9NtxyySVM
-
pablosscripts - Brigadier General
- Posts: 1976
- Joined: Tue Nov 24, 2015 6:27 am
Re: GPC2 Language Reference
It doesn't print anything when compiling.
It needs to be run to output something with printf.
J2Kbr did compile & run it with "Test and Debug", it looks like you just compiled it.
It needs to be run to output something with printf.
J2Kbr did compile & run it with "Test and Debug", it looks like you just compiled it.
-
Scachi - Brigadier General
- Posts: 3044
- Joined: Wed May 11, 2016 6:25 am
- Location: Germany
Re: GPC2 Language Reference
Scachi wrote:It doesn't print anything when compiling.
It needs to be run to output something with printf.
J2Kbr did compile & run it with "Test and Debug", it looks like you just compiled it.
+1
ConsoleTuner Support Team
-
J2Kbr - General of the Army
- Posts: 20323
- Joined: Tue Mar 18, 2014 1:39 pm
Who is online
Users browsing this forum: No registered users and 35 guests