English Drop Name

12 replies
Goto Page
To the start Previous 1 Next To the start
14.07.15 08:13:36 pm
Up
Jedediastwo
User
Offline Off
I need a script when player say !dropname his name appears on the floor
14.07.15 08:27:09 pm
Up
The Gajos
BANNED
Offline Off
@user Jedediastwo: possible with many lags
14.07.15 09:27:11 pm
Up
Jedediastwo
User
Offline Off
Someone can do that? '-'
14.07.15 09:29:36 pm
Up
gamus
User
Offline Off
Are you aware of the lags, young man?
14.07.15 09:45:04 pm
Up
KimKart
Idiot
Offline Off
Don't do it! The lags are too strong! They're taking over... aaa~
my meme big
14.07.15 10:00:51 pm
Up
Rainoth
Moderator
Offline Off
Many can do it, nobody will. Welcome to life.
14.07.15 10:26:28 pm
Up
Skripter5000
User
Offline Off
On join, let the permissive people get a image/sprite generated, when it does !dropname, a n ew image/sprite is generated there. Maybe
x of image = x of player - x size of image / 2
the same for y
so its centralized to the player.
ADDED Skripter5000 spielt CounterStrike2D!
14.07.15 10:35:31 pm
Up
The Gajos
BANNED
Offline Off
@user Jedediastwo: Tell me why do you wanna this script?!
14.07.15 10:37:26 pm
Up
Pirates killer
User
Offline Off
@user 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..
file cs2d [PK]Admin script V2 (32) Newbie scripting.
14.07.15 11:19:25 pm
Up
gamus
User
Offline Off
@user Rainoth: has spoken wise.

@user Jedediastwo: why do you need it?
14.07.15 11:24:37 pm
Up
Jedediastwo
User
Offline Off
Only testing for Happy Town '-'
edited 1×, last 14.07.15 11:42:26 pm
15.07.15 12:11:57 am
Up
PyKemis
User
Offline Off
Here's an example using hudtxt2:

Code:
1
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 cs2d lua cmd image.
15.07.15 12:26:44 am
Up
Jedediastwo
User
Offline Off
Thanks Kemine, You is the best!
To the start Previous 1 Next To the start