View previous topic :: View next topic |
Author |
Message |
F34Ek How do I cheat?
Reputation: 0
Joined: 01 May 2013 Posts: 6
|
Posted: Thu Jun 20, 2013 7:46 am Post subject: How to ahcieve this ? need help |
|
|
HI, how can I make a code which can do this:
IF "00ecf2c0' = 5
write "00ec8805" = 1
after a few millisecond
write '00ec8805' = 5000
Is there any way to achieve this ?
thx for respone
sry for bad egnlish
Code: | function writeif(sender)
if readInteger("00ecf2c0")==5 then // <- =5
writeInteger("[[00ec8005]+8f4]+50", 1) //<- write 5, but how can i write =1 after a few millisecond?
end
end
t=createTimer(nil, true)
timer_onTimer(t, writeif)
timer_setInterval(t, 100) --check every 100 milliseconds |
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Thu Jun 20, 2013 10:14 am Post subject: |
|
|
Code: | function writeif(sender)
if readInteger("00ecf2c0")==5 then
if readInteger("[[00ec8005]+8f4]+50")==1 then
writeInteger("[[00ec8005]+8f4]+50", 5000)
else
writeInteger("[[00ec8005]+8f4]+50", 1)
end
end
end
t=createTimer(nil, true)
timer_onTimer(t, writeif)
timer_setInterval(t, 100) |
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
F34Ek How do I cheat?
Reputation: 0
Joined: 01 May 2013 Posts: 6
|
Posted: Thu Jun 20, 2013 11:17 am Post subject: |
|
|
DaSpamer wrote: | Code: | function writeif(sender)
if readInteger("00ecf2c0")==5 then
if readInteger("[[00ec8005]+8f4]+50")==1 then
writeInteger("[[00ec8005]+8f4]+50", 5000)
else
writeInteger("[[00ec8005]+8f4]+50", 1)
end
end
end
t=createTimer(nil, true)
timer_onTimer(t, writeif)
timer_setInterval(t, 100) |
|
THx for respones but isnt this mean if "00ecf2c0" is not =1, [[00ec8005]=1.
But what i mean is that, after writeInteger("[[00ec8005]+8f4]+50", 5000, set a time, like 500 milisec, then writeInteger("[[00ec8005]+8f4]+50", 1.
thanks
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Thu Jun 20, 2013 12:12 pm Post subject: |
|
|
Code: | function writeif(sender)
if readInteger("00ecf2c0")==5 then
if readInteger("[[00ec8005]+8f4]+50")==1 then
writeInteger("[[00ec8005]+8f4]+50", 5000)
timer_setInterval(sender, 500)
else
writeInteger("[[00ec8005]+8f4]+50", 1)
timer_setInterval(sender, 100)
end
end
end
t=createTimer(nil, true)
timer_onTimer(t, writeif)
timer_setInterval(t, 100) |
if "00ecf2c0 == 1 then it'll write 5000.
Else it'll write 1 (if its not 1).
sender = timer.
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
F34Ek How do I cheat?
Reputation: 0
Joined: 01 May 2013 Posts: 6
|
Posted: Thu Jun 20, 2013 7:17 pm Post subject: |
|
|
DaSpamer wrote: | Code: | function writeif(sender)
if readInteger("00ecf2c0")==5 then
if readInteger("[[00ec8005]+8f4]+50")==1 then
writeInteger("[[00ec8005]+8f4]+50", 5000)
timer_setInterval(sender, 500)
else
writeInteger("[[00ec8005]+8f4]+50", 1)
timer_setInterval(sender, 100)
end
end
end
t=createTimer(nil, true)
timer_onTimer(t, writeif)
timer_setInterval(t, 100) |
if "00ecf2c0 == 1 then it'll write 5000.
Else it'll write 1 (if its not 1).
sender = timer. |
Ohh Thanks Its works:D Thx for helping
|
|
Back to top |
|
 |
daspamer Grandmaster Cheater Supreme
Reputation: 54
Joined: 13 Sep 2011 Posts: 1588
|
Posted: Thu Jun 20, 2013 7:47 pm Post subject: |
|
|
np
_________________
I'm rusty and getting older, help me re-learn lua. |
|
Back to top |
|
 |
Squidface Newbie cheater
Reputation: -1
Joined: 19 Jan 2013 Posts: 20
|
Posted: Tue Jun 25, 2013 6:28 pm Post subject: |
|
|
Hey "DaSpamer" i need your help
|
|
Back to top |
|
 |
|