Help with NOP codes

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
sampPatch[] = "name" q 0 0x0  "" "0000"
sampPatch[] = "name2" q 0 0x0  "" "0000"
sampPatch[] = "name3" q 0 0x0  "" "0000"

What i can do with these codes ? I know i can example have OnFoot data code but how do i use it ?  Do i add it in sannybuilder and compile as text file or ?
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
You download s0beit, press f11 go to SA:MP Patches then activate/deactivate them.
 

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
Yes i know that thing but can i do NOP codes to CLEO files ? I saw some has them
 

not490

Well-known member
Joined
Feb 8, 2014
Messages
438
Reaction score
4
while true
wait 0
if 0AB0: 49 // ON
then
    0AD1: "nop on" time 1000
    0AA2: 0@ = load_library "samp.dll" // IF and SET
    000A: 0@ += 0x14A70 //NOP
    0A8D: 1@ = read_mem 0@ size 2 vp 0 // 1@ = oldValue              
    0A8C: write_memory 0@ size 2 value 0xC390 vp 1 //nopValue
else
    if 0AB0: 50 // OFF
    then
        0AD1: "nop off" time 1000
        0A8C: write_memory 0@ size 2 value 1@ vp 0 //oldValue
    end
end



Oh yes that !  Do i just  Compile this  Code  with sannybuilder 
 
Top