Resource icon

Untagged Release NameTagHack 0.3.7 / 0.3.DL [CLEO/EXE/ASI]

E

elianfox

Guest
names are bugged when I disable why?
 

Attachments

  • 1590983155823.png
    1590983155823.png
    312 bytes · Views: 45
  • 1590983170315.png
    1590983170315.png
    312 bytes · Views: 38
E

elianfox

Guest
help plis bugged nametag
 

Attachments

  • sa-mp-083.png
    sa-mp-083.png
    1.6 MB · Views: 187

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
935
Location
Lithuania
0.3.7 R* - 0.3.DL
PHP:
{$CLEO .cs}

0000:

REPEAT
    WAIT 0
UNTIL 0AA2: 0@ = "samp.dll"

0AB1: @get_samp_version_id 0 _Returned: ID 1@

WHILE TRUE
WAIT 0

IF 0ADC:   test_cheat "9"
THEN
    IF 31@ == FALSE
    THEN
        31@ = TRUE
        0ACD: show_text_highpriority "Nametag ~g~ON" time 1000
    ELSE
        31@ = FALSE
        0ACD: show_text_highpriority "Nametag ~r~OFF" time 1000
        0AB1: @SetNameTagSettings 5 SampDLL 0@ SampVersionID 1@ NameTagsDistance 70.0 NoNametagsBehindWalls TRUE ShowNameTags TRUE
    END
END

IF 31@ == TRUE
THEN 0AB1: @SetNameTagSettings 5 SampDLL 0@ SampVersionID 1@ NameTagsDistance 310.0 NoNametagsBehindWalls FALSE ShowNameTags TRUE
END

END

:get_samp_version_id
// 0AB1: @get_samp_version_id 0 _returned: ID 0@
30@ = 0
IF 0AA2: 31@ = load_library "samp.dll" // IF and SET
THEN
    31@ += 0x128
    0A8D: 29@ = read_memory 31@ size 4 virtual_protect 1
    IF 29@ == 0x5542F47A
    THEN 30@ = 1 // 0.3.7 R1
    END

    IF 29@ == 0x59C30C94
    THEN 30@ = 2 // 0.3.7 R2
    END

    IF 29@ == 0x5A6A3130
    THEN 30@ = 3 // 0.3.DL
    END

    31@ -= 8 // reading samp.dll + 0x120
    0A8D: 29@ = read_memory 31@ size 4 virtual_protect 1

    IF 29@ == 0x5C0B4243
    THEN 30@ = 4 // 0.3.7 R3
    END

    IF 29@ == 0x5DD606CD
    THEN 30@ = 5 // 0.3.7 R4
    END
END
0AB2: ret 1 30@    

:SetNameTagSettings
IF 1@ == 1 // 0.3.7 R1
THEN 0A8E: 31@ = 0@ + 0x21A0F8 // SAMP_INFO_OFFSET
END
IF 1@ == 2 // 0.3.7 R2
THEN 0A8E: 31@ = 0@ + 0x21A100 // SAMP_INFO_OFFSET
END

IF 1@ == 3 // 0.3.DL
THEN 0A8E: 31@ = 0@ + 0x2ACA24 // SAMP_INFO_OFFSET
END

IF 1@ == 4 // 0.3.7 R3
THEN 0A8E: 31@ = 0@ + 0x26E8DC // SAMP_INFO_OFFSET
END

IF 1@ == 5 // 0.3.7 R4
THEN 0A8E: 31@ = 0@ + 0x26EA0C // SAMP_INFO_OFFSET
END

0A8D: 31@ = readMem 31@ sz 4 vp 0 
000A: 31@ += 0x3D5 // SETTINGS_OFFSET
0A8D: 31@ = readMem 31@ sz 4 vp 0
0A8E: 30@ = 31@ + 0x27 // NAME_TAGS_DISTANCE_OFFSET
0A8E: 29@ = 31@ + 0x2F // NO_NAME_TAGS_BEHIND_WALLS_OFFSET
0A8E: 28@ = 31@ + 0x38 // SHOW_NAME_TAGS_OFFSET
0A8C: writeMem 30@ sz 4 vl 2@ vp 0 // NAME_TAGS_DISTANCE
0A8C: writeMem 29@ sz 1 vl 3@ vp 0 // NO_NAME_TAGS_BEHIND_WALLS
0A8C: writeMem 28@ sz 1 vl 4@ vp 0 // SHOW_NAME_TAGS
0AB2: RET 0
 

Luciano

Member
Joined
Jul 4, 2016
Messages
18
Reaction score
0
i have bug with samp addon, have nametag underground but another size, help me
 

Attachments

  • Untitled.png
    Untitled.png
    3.2 MB · Views: 175
  • Untitled2.png
    Untitled2.png
    3.5 MB · Views: 164

SobFoX

Expert
Joined
Jul 14, 2015
Messages
1,462
Solutions
5
Reaction score
915
Location
Israel
0.3.7 R* - 0.3.DL
PHP:
{$CLEO .cs}

0000:

REPEAT
    WAIT 0
UNTIL 0AA2: 0@ = "samp.dll"

0AB1: @get_samp_version_id 0 _Returned: ID 1@

WHILE TRUE
WAIT 0

IF 0ADC:   test_cheat "9"
THEN
    IF 31@ == FALSE
    THEN
        31@ = TRUE
        0ACD: show_text_highpriority "Nametag ~g~ON" time 1000
    ELSE
        31@ = FALSE
        0ACD: show_text_highpriority "Nametag ~r~OFF" time 1000
        0AB1: @SetNameTagSettings 5 SampDLL 0@ SampVersionID 1@ NameTagsDistance 70.0 NoNametagsBehindWalls TRUE ShowNameTags TRUE
    END
END

IF 31@ == TRUE
THEN 0AB1: @SetNameTagSettings 5 SampDLL 0@ SampVersionID 1@ NameTagsDistance 310.0 NoNametagsBehindWalls FALSE ShowNameTags TRUE
END

END

:get_samp_version_id
// 0AB1: @get_samp_version_id 0 _returned: ID 0@
30@ = 0
IF 0AA2: 31@ = load_library "samp.dll" // IF and SET
THEN
    31@ += 0x128
    0A8D: 29@ = read_memory 31@ size 4 virtual_protect 1
    IF 29@ == 0x5542F47A
    THEN 30@ = 1 // 0.3.7 R1
    END

    IF 29@ == 0x59C30C94
    THEN 30@ = 2 // 0.3.7 R2
    END

    IF 29@ == 0x5A6A3130
    THEN 30@ = 3 // 0.3.DL
    END

    31@ -= 8 // reading samp.dll + 0x120
    0A8D: 29@ = read_memory 31@ size 4 virtual_protect 1

    IF 29@ == 0x5C0B4243
    THEN 30@ = 4 // 0.3.7 R3
    END

    IF 29@ == 0x5DD606CD
    THEN 30@ = 5 // 0.3.7 R4
    END
END
0AB2: ret 1 30@   

:SetNameTagSettings
IF 1@ == 1 // 0.3.7 R1
THEN 0A8E: 31@ = 0@ + 0x21A0F8 // SAMP_INFO_OFFSET
END
IF 1@ == 2 // 0.3.7 R2
THEN 0A8E: 31@ = 0@ + 0x21A100 // SAMP_INFO_OFFSET
END

IF 1@ == 3 // 0.3.DL
THEN 0A8E: 31@ = 0@ + 0x2ACA24 // SAMP_INFO_OFFSET
END

IF 1@ == 4 // 0.3.7 R3
THEN 0A8E: 31@ = 0@ + 0x26E8DC // SAMP_INFO_OFFSET
END

IF 1@ == 5 // 0.3.7 R4
THEN 0A8E: 31@ = 0@ + 0x26EA0C // SAMP_INFO_OFFSET
END

0A8D: 31@ = readMem 31@ sz 4 vp 0
000A: 31@ += 0x3D5 // SETTINGS_OFFSET
0A8D: 31@ = readMem 31@ sz 4 vp 0
0A8E: 30@ = 31@ + 0x27 // NAME_TAGS_DISTANCE_OFFSET
0A8E: 29@ = 31@ + 0x2F // NO_NAME_TAGS_BEHIND_WALLS_OFFSET
0A8E: 28@ = 31@ + 0x38 // SHOW_NAME_TAGS_OFFSET
0A8C: writeMem 30@ sz 4 vl 2@ vp 0 // NAME_TAGS_DISTANCE
0A8C: writeMem 29@ sz 1 vl 3@ vp 0 // NO_NAME_TAGS_BEHIND_WALLS
0A8C: writeMem 28@ sz 1 vl 4@ vp 0 // SHOW_NAME_TAGS
0AB2: RET 0
Update the topic or open a new topic with the SCRIPT do not stop asking me this players
 
Top