General > Developers Corner

Some help again! :)

(1/2) > >>

slowtech:
Hello.
I thought of making something like this:
--- Code: ---  if "ulx votekick" then ply:GetUserGroup () "respected" then
   ulx.logUserAct( ply, target, "Respected user ply:GetNick() started a votekick against #T.\
      end
end"
--- End code ---


So instead of "(ADMIN) Slowtech started a votekick against Megiddo"
Then it shows up like "(RESPECTED) Slowtech started a votekick against Megiddo".

If you understand, just wanted to know if this should work?

JamminR:
Sorry, I don't understand.
Rather than showing Admin, you want it to show the group level of the person that started the votekick?

slowtech:
Yes.
I could give a example:

You give a person admin.
Then when he does something, like !votekick jammnir, then it would come up in the chat "(ADMIN) person Started a votekick against Jammnir"

But i would like to make people that have the usergroup Respected to have that in chat as well.
Like when they do something, then it shows up like:

"(RESPECTED) person2 Started a votekick against Jammnir"

Hope i helped you to understand.

JamminR:
I think this was added at one time.
Are you using SVN?
It's possible it was removed from svn for <some other technical reason>.

slowtech:
Yes, i am using svn.
I don't think that it was ever added to ulx?

Navigation

[0] Message Index

[#] Next page

Go to full version