Forum
Scripts
Drop Name
Drop Name
12 replies
1

Jedediastwo: possible with many lags
x of image = x of player - x size of image / 2
the same for y
so its centralized to the player.
Jedediastwo: Tell me why do you wanna this script?!
Jedediastwo: final admin script have something like this in old version of it (i think so) , if you want that u can ask the maker of it..
Rainoth: has spoken wise.@
Jedediastwo: why do you need it? edited 1×, last 14.07.15 09:42:26 pm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
addhook("say", "_say")
addhook("always", "_always")
addhook("leave", "_leave")
local names = {}
function _say(id, message)
if string.lower(message) == "!dropname" then
names[id] = {player(id, "x") + 320, player(id, "y") + 232}
return 1
end
end
function _leave(id)
names[id] = nil
end
function _always()
for _, id in pairs(player(0, "table")) do
for id2, name in pairs(names) do
parse("hudtxt2 " .. id .. " " .. id2 .. " \"" .. player(id2, "name") .. "\" " .. (name[1] - player(id, "x")) .. " " .. (name[2] - player(id, "y")) .. " 1")
end
end
end
Another option would be to create a tileset with A-Z, then use
image.
1

Offline