Help I need infinity food and water for samp RP

bestneta

New member
Joined
Sep 26, 2023
Messages
3
Reaction score
0
Need infinity food and water
Can u make for me
Samp 037 r1 ,sampfuns
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,713
Solutions
1
Reaction score
111
Best you can do is maybe negate the damage you take from hunger and water depending on the HP system of the server.
 

Tuzas

Active member
Joined
Nov 1, 2019
Messages
143
Reaction score
80
Location
null
JavaScript:
function sampev.onSetPlayerHealth(hp)
    if bool then
        return false
    else
        return true
    end
end
Or in cleo:

JavaScript:
0AA2: 31@ = "samp.dll"
31@ += 0x19550
 IF 0@ == TRUE
    THEN 0A8C: write_memory 31@ size 1 value 0xC3 virtual_protect 1
    ELSE 0A8C: write_memory 31@ size 1 value 0x56 virtual_protect 1
    END
0AB2: 0
//Change offsets to R1
 

bestneta

New member
Joined
Sep 26, 2023
Messages
3
Reaction score
0
JavaScript:
function sampev.onSetPlayerHealth(hp)
    if bool then
        return false
    else
        return true
    end
end
Or in cleo:

JavaScript:
0AA2: 31@ = "samp.dll"
31@ += 0x19550
 IF 0@ == TRUE
    THEN 0A8C: write_memory 31@ size 1 value 0xC3 virtual_protect 1
    ELSE 0A8C: write_memory 31@ size 1 value 0x56 virtual_protect 1
    END
0AB2: 0
//Change offsets to R1
How to use? I have no knowledge about these things.
 
Top