Combreal icon

testagdata01.lua

Combreal | PRO | 01/06/15 02:42:44 PM UTC | 0 ⭐ | 1278 👁️ | Never ⏰ | []
Lua |

600 B

|

None

|

0 👍

/

0 👎

-- Test gettagdata on bloodgulch using the scorpion's collision adress with sparky's plugin --
 
scorpion_coll_address = 0xAF9FD0
 
function GetRequiredVersion() return 200 end
 
function OnScriptLoad(processid, game, persistent) end
 
function OnServerChat(player, type, message)
    local response = nil
    if player then
        if string.lower(message) == "tag" then
            local response = false
            local tag_name_address = readdword(scorpion_coll_address + 0x10)
            local tag_name = readstring(tag_name_address)
            privatesay(player, the_tag_name, false)
            return response
        end
    end
    return response
end

Comments

  •  icon
    01/01/70 12:00:00 AM UTC
    Plain Text |

    0 B

    |

    👍

    /

    👎