Posts 16–28 of 28 · Page 2 of 2

Originally Posted by
Razer-
Call me stupid, but whats an Integer *Trying to learn LUA - Doesn't know much about it*
Integer is a number (not a decimal)
Just like when you set something in the console it needs an integer.
sv_cheats 1 or 0

Originally Posted by
Gray
Integer is a number (not a decimal)
Just like when you set something in the console it needs an integer.
sv_cheats 1 or 0
Sorry for all the questions, but where would I put it. I seriously feel like a complete douche and Idiot for all the questions.

Originally Posted by
Razer-
Sorry for all the questions, but where would I put it. I seriously feel like a complete douche and Idiot for all the questions.
No sweat, writeBytes("serversomething.something+78348298bd", 1)

Originally Posted by
Gray
No sweat, writeBytes("serversomething.something+78348298bd", 1)
And this will be the last questions I swear D:
So your saying the code will be this
Code:
function CEButton1Click(sender)
writeBytes("engine.CreateInterface+40E5E8", 1)
end
And about the "Running specific Script" How do I get it to run a Specific script in my LUA Folder *Garry's Mod* when I press a Button

Originally Posted by
Razer-
And this will be the last questions I swear D:
So your saying the code will be this
Code:
function CEButton1Click(sender)
writeBytes("engine.CreateInterface+40E5E8", 1)
end
And about the "Running specific Script" How do I get it to run a Specific script in my LUA Folder *Garry's Mod* when I press a Button
That seems about right yes
And about specified scripts I don't know I'm new to this as well haha.

Originally Posted by
Gray
That seems about right yes
And about specified scripts I don't know I'm new to this as well haha.
Heh, Okay well thanks a ton you really helped me.

Originally Posted by
Razer-
Heh, Okay well thanks a ton you really helped me.
NaN problems.
Someone has got to help the people, sadly nobody is helping me.
But then again, I've always been the one to try to learn by myself.
Try it in singleplayer :P

Originally Posted by
Gray
NaN problems.
Someone has got to help the people, sadly nobody is helping me.
But then again, I've always been the one to try to learn by myself.
Try it in singleplayer :P
I will, and yeah I teach my self in LUA and shit, I just didn't understand this. I'm going to start helping as much as I can and being Active.
---------- Post added at 04:13 PM ---------- Previous post was at 04:08 PM ----------

Originally Posted by
Gray
NaN problems.
Someone has got to help the people, sadly nobody is helping me.
But then again, I've always been the one to try to learn by myself.
Try it in singleplayer :P
Okay, sorry but one more question that I forgot to ask
Do I have to add a New button to make it turn off, Because I added the 1, 0) and when I press it again it doesn't turn off D:

Originally Posted by
Razer-
I will, and yeah I teach my self in LUA and shit, I just didn't understand this. I'm going to start helping as much as I can and being Active.
---------- Post added at 04:13 PM ---------- Previous post was at 04:08 PM ----------
Okay, sorry but one more question that I forgot to ask
Do I have to add a New button to make it turn off, Because I added the 1, 0) and when I press it again it doesn't turn off D:
I chose to do that because it seemed as the simplest way with what little knowledge I have/had.
But you can use memrec, I have not tried it so I don't know.
Here's an example. Report how it worked.
oldValue="";
function _memrec_Energy_activated(te)
oldvalue=memrec_getValue(te)
memrec_setValue(te,2000);
end
function _memrec_Energy_deactivated(te)
memrec_setValue(te,oldvalue)
end
I can't really give you any more information than that, because I have no knowledge with this.

Originally Posted by
Gray
I chose to do that because it seemed as the simplest way with what little knowledge I have/had.
But you can use memrec, I have not tried it so I don't know.
Here's an example. Report how it worked.
I can't really give you any more information than that, because I have no knowledge with this.
Okay well, it didn't work but thanks Anyway, I'm just going to add another button, to turn it off i'd just change the 1 to a 0, Correct?

Originally Posted by
Razer-
Okay well, it didn't work but thanks Anyway, I'm just going to add another button, to turn it off i'd just change the 1 to a 0, Correct?
That's how I did it.
I find the lack of CE documentation and how to work with the trainer creator very annoyingThanks @
Gray I will show my support for you.
This is my new Bypasser

Looks good 
Posts 16–28 of 28 · Page 2 of 2
This thread is closed for replies.