Jump to content
Sign in to follow this  
LionelHax

help with a code for a script

Recommended Posts

hello friends this topic is so please can you help me with the code so that in my script you can put the value that they have as in the image

Screenshot_2019-01-11-15-08-41.png

Share this post


Link to post
Share on other sites

This is a prompt (an input form)

https://gameguardian.net/help/classgg.html#afe6c5b86ba0ae295899fd259232aac2b

ex:
 

local val = gg.prompt({[1] = 'input value'},
{[1] = '0'})

if val[1] == nil then
	print('cancel, please input value')
end

gg.searchNumber('1', gg.TYPE_DWORD,false,gg.SIGN_EQUAL, 0, -1)
gg.getResults(100)
gg.editAll(val[1],gg.TYPE_DWORD) 

Share this post


Link to post
Share on other sites

friend, thank you very much for the help, but I still have a doubt that I do not understand, when I place the value so that I look for it, it always looks for me 1 how do I look for the value that I place

Share this post


Link to post
Share on other sites

use the example as a basis and not literally ... analyze the code and you will see why it searches the value 1

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...