salahlidame

Active member
Joined
Nov 20, 2022
Messages
25
Reaction score
0
some one make this .lua script to version cs. please


script_name("Infinite Run")
script_description("Infinite run with automatic activation")
script_author("checkdasound")

local mem = require "memory"

function main()
while true do
wait(0)
if isSampAvailable() then
mem.setint8(0xB7CEE4, 1)
end
end
end
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
This code was written using phone:
PHP:
{$CLEO .cs}

0000:

while true
wait 0

If 0AB0: 90 // Z key pressed
then
repeat
wait 0
until 8AB0: 90 // Z key not pressed
If 31@ == false
then 
31@ = true
0A8C: write_memory 0xB7CEE4 size 1 value 1 virtual_protect 1
0AD1: "Code: ~G~Enabled" 1337
else
31@ = false
0A8C: write_memory 0xB7CEE4 size 1 value 0 virtual_protect 1
0AD1: "Code: ~R~Disabled" 1337
end
end

end
 

salahlidame

Active member
Joined
Nov 20, 2022
Messages
25
Reaction score
0
This code was written using phone:
PHP:
{$CLEO .cs}

0000:

while true
wait 0

If 0AB0: 90 // Z key pressed
then
repeat
wait 0
until 8AB0: 90 // Z key not pressed
If 31@ == false
then
31@ = true
0A8C: write_memory 0xB7CEE4 size 1 value 1 virtual_protect 1
0AD1: "Code: ~G~Enabled" 1337
else
31@ = false
0A8C: write_memory 0xB7CEE4 size 1 value 0 virtual_protect 1
0AD1: "Code: ~R~Disabled" 1337
end
end

end
please compile for me wiat autoactive this is real code i want version this .lua for .cs
 

Attachments

  • Infinite Run.lua
    272 bytes · Views: 0
Top