Scripts / Add a live when the answer is correct

Author
Message
Island
7
Years of Service
User Offline
Joined: 27th May 2016
Location:
Posted: 27th May 2016 16:03

I have made this script. The idea is that if the player press 3(GetScancode() == 4) he will get a extra live.
PM
smallg
Community Leader
18
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 27th May 2016 18:32
i assume you have the rest of the script written out correctly so you just need to change SetPlayerLives(e,+1) to SetPlayerLives(g_PlayerLives+1)
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11

Login to post a reply

Server time is: 2024-04-27 14:15:16
Your offset time is: 2024-04-27 14:15:16