AnonymousNewbCheater How do I cheat?
Reputation: 0
Joined: 11 Nov 2015 Posts: 1 Location: ddd
|
Posted: Tue Jun 27, 2017 10:44 am Post subject: Lua io properties |
|
|
Hello, I am creating a trainer where I want to make the user to only be allowed to use a specific hack 10 times
My solution is this:::
when the user activates the hack, the trainer checks if the text file exists(call I "userdata.txt")
If it exists, it reads the number/integer in it and increments it
If it reads it and the value is equals or more than 10, the hack will not be activated
If it doesn't, it creates the text file and sets the value to 0 then in future, when the hack is activated again, the 0 increments, etc etc
I know how to do this in c#, but the reason I cannot do it is because I don't know how to create a trainer in c#
If anyone knows how to do this, plzz assist me, I will be very grateful
Also try to simplify the answer cause I am a noob in lua
Thnx in advanced
P.S, I think the answer has something to do with lua's IO properties just like in c# thats why I used it in the topic
|
|