Cornysz Posted October 24, 2018 Posted October 24, 2018 Is it possible to make a like text box and we can write it anything u want and the text will edit the value.
Cornysz Posted October 24, 2018 Author Posted October 24, 2018 On 10/24/2018 at 3:54 PM, maulz said: use promptcan you give me code example? ty
Metin26 Posted October 25, 2018 Posted October 25, 2018 Hello there. In an online game, the speed of the game should remain constant, but I should shoot faster when shooting. Is it possible? I'm using the game speeding speed trick, the game time is getting faster, my enemies in front of me.
Cornysz Posted October 25, 2018 Author Posted October 25, 2018 On 10/25/2018 at 12:20 AM, Metin26 said: Hello there. In an online game, the speed of the game should remain constant, but I should shoot faster when shooting. Is it possible? I'm using the game speeding speed trick, the game time is getting faster, my enemies in front of me.wrong thread sir[emoji23][emoji23]
Metin26 Posted October 25, 2018 Posted October 25, 2018 On 10/25/2018 at 12:34 AM, Cornysz said: Expand On 10/25/2018 at 12:34 AM, Cornysz said: wrong thread sir Expand I wanted to open a new topic, but I'm sorry I couldn't open it.
Revoxtical Posted October 25, 2018 Posted October 25, 2018 On 10/24/2018 at 11:53 PM, Cornysz said: On 10/24/2018 at 3:54 PM, maulz said: use prompt Expand can you give me code example? ty Expand https://gameguardian.net/help/classgg.html#afe6c5b86ba0ae295899fd259232aac2b
Cornysz Posted October 25, 2018 Author Posted October 25, 2018 On 10/25/2018 at 9:38 AM, Revoxtical said: https://gameguardian.net/help/classgg.html#afe6c5b86ba0ae295899fd259232aac2bcan u give me another one? that example is to hard with me
bukandewa Posted October 25, 2018 Posted October 25, 2018 On 10/25/2018 at 12:38 PM, Cornysz said: On 10/25/2018 at 9:38 AM, Revoxtical said: https://gameguardian.net/help/classgg.html#afe6c5b86ba0ae295899fd259232aac2b Expand can u give me another one? that example is to hard with me Expand local val = gg.prompt({[1] = 'input value'},{[1] = '0'}) if val == nil then gg.toast('input value cancel') else gg.searchNumber('1;2;3;4', gg.TYPE_FLOAT) gg.searchNumber('1', gg.TYPE_FLOAT) gg.getResults(10) gg.editAll(val[1], gg.TYPE_FLOAT) gg.clearResults() gg.toast('custom value edited') end Maybe something like code above You can improve as you want 1
Cornysz Posted October 25, 2018 Author Posted October 25, 2018 On 10/25/2018 at 2:26 PM, bukandewa said: local val = gg.prompt({[1] = 'input value'},{[1] = '0'})if val == nil thengg.toast('input value cancel')elsegg.searchNumber('1;2;3;4', gg.TYPE_FLOAT)gg.searchNumber('1', gg.TYPE_FLOAT)gg.getResults(10)gg.editAll(val[1], gg.TYPE_FLOAT)gg.clearResults()gg.toast('custom value edited')end Maybe something like code above You can improve as you want Woah! thank u very much :) but can you make it the prompt only with number keyboard (keyboard from the gg), not phone keyboard. so they can't write abcdefghij blabla
Administrators Enyby Posted October 25, 2018 Administrators Posted October 25, 2018 Specify type field as 'number' and it force use internal keyboard. But user can able input anything in field in any case. You must validate any input data from user. For example with regular expressions (regexp). 1
Revoxtical Posted October 26, 2018 Posted October 26, 2018 On 10/25/2018 at 7:35 PM, Cornysz said: Woah! thank u very much but can you make it the prompt only with number keyboard (keyboard from the gg), not phone keyboard. so they can't write abcdefghij blabla Expand local val = gg.prompt({'Input value :'}, nil, {'number'}) if not val then gg.toast('Cancel') elseif tonumber(val[1]) then gg.searchNumber('1;2;3;4', gg.TYPE_FLOAT) gg.searchNumber('1', gg.TYPE_FLOAT) gg.getResults(10) gg.editAll(val[1], gg.TYPE_FLOAT) gg.clearResults() gg.toast('custom value edited') else gg.toast('Value invalid!') end 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now