English Tags (im new)

8 replies
Goto Page
To the start Previous 1 Next To the start
09.06.19 06:09:57 pm
Up
AGRUSEL
User
Offline Off
Hello everyone, my idea is that every time you speak, a tag appears saying your level, but I do not know, someone helps me?


Example:

[LEVEL 19] AGRUSEL: hello guys!!!
edited 1×, last 11.06.19 12:15:33 am
11.06.19 12:22:21 am
Up
Mami Tomoe
User
Offline Off
What is the variable name of your level?
Such as
players[id].level


Or do you not even have a basic script to begin with?
It's hard being the best girl in the whole entire world
11.06.19 12:23:18 am
Up
TheVillager
User
Offline Off
Code:
1
2
3
4
5
6
addhook("say","levelsay")

function levelsay(id,txt)
     msg("©255255255[LEVEL "..level[id].."] "..player(id,"name")..": ©000255100"..txt)
      return 1
end
11.06.19 12:30:42 am
Up
AGRUSEL
User
Offline Off
user Mami Tomoe has written:
its p_level
11.06.19 12:33:37 am
Up
TheVillager
User
Offline Off
Code:
1
2
3
4
5
6
addhook("say","levelsay")

function levelsay(id,txt)
     msg("©255255255[LEVEL "..p_level[id].."] "..player(id,"name")..": ©000255100"..txt)
      return 1
end


Try this
11.06.19 12:35:04 am
Up
AGRUSEL
User
Offline Off
@user TheVillager: It works although there is a small problem, when I speak in the chat, the message is repeated.

Example:
[LEVEL 19] AGRUSEL : HI ALL
AGRUSEL : HI ALL
edited 1×, last 11.06.19 12:53:06 am
11.06.19 12:58:28 am
Up
TheVillager
User
Offline Off
Delete other say functions
12.06.19 09:30:03 pm
Up
AGRUSEL
User
Offline Off
user TheVillager has written:
I can not put it together with another function? If you can, how do I do it?
12.06.19 10:01:50 pm
Up
Mami Tomoe
User
Offline Off
Share all of your say functions here.
It's hard being the best girl in the whole entire world
To the start Previous 1 Next To the start