Scripts / Press 1 to execute a if statement

Author
Message
Henkepenk
10
Years of Service
User Offline
Joined: 19th Apr 2016
Location:
Posted: 19th Apr 2016 16:23
I have made a if statement and this have to work when I press 1. How do I have to do that.
PM
smallg
Community Leader
20
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 19th Apr 2016 18:46
if GetScancode() == 2 then
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
Henkepenk
10
Years of Service
User Offline
Joined: 19th Apr 2016
Location:
Posted: 27th Apr 2016 08:23
Thank you for the answer. Is there a list of all scancodes?
PM
Belidos
3D Media Maker
10
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 27th Apr 2016 09:08 Edited at: 27th Apr 2016 09:08
Yes, here you go ...


i7, NV960 4GB, 16GB memory, 2x 4TB Hybrid, Win10.
i5 , AMD 6770 1GB, 8GB memory, 512GB Generic SATAIII + 2TB Seagate Baracuda SATAIII, Win7.
i3, Radeon integrated graphics, 4GB memory, 512gB Generic SATAII, Win8.1.
Q6600, Intel integrated graphics, 2GB memory, 180GB Generic SATAII, WinXP.

Attachments

Login to post a reply

Server time is: 2026-06-09 04:46:26
Your offset time is: 2026-06-09 04:46:26