Ulysses Stuff > Ulysses Release Archives

AutoPromote

<< < (12/29) > >>

Ploo:
Added you.

smithy:
I realised a major flaw in my code so here is 3.2. I will ask HOLO to reupload to garrysmod.org, but for now here is a temp mirror.

DOWNLOAD

Version 3.2 changes:
*Fixed the exclude group code, it was only excluding the last group in the excludes table. - Fixed in V3.2

jay209015:

--- Code: ---*Fixed the exclude group code, it was only excluding the last group in the excludes table. - Fixed in V3.2
--- End code ---
     - Nice find! :)

TweaK:
So I am trying to get this thing to work... first here is what i have for a config:

--- Code: ---promotes = {
{ hours = 2, group = "player", name = "Player" },
{ hours = 10, group = "regular", name = "Regular" },
{ hours = 25, group = "pro", name = "Pro" },
{ hours = 45, group = "vip", name = "VIP" },
{ hours = 75, group = "respected", name = "Respected" }
}

---------IF A PLAYER IS A MEMBER OF THESE GROUPS THEY WONT GET PROMOTED.......EVER
excludes = { "respected", "admin", "admin2", "superadmin" }
--- End code ---
and what is happening is it will promote to player, regular, pro...but when a player hits 45 hours it jumps to respected and skips vip... or whatever the second to last group defined is in any case...
any ideas? ??? or am i just crazy

edit: i dont think having respected in the excludes makes a difference but im not 100% on that

someone920:
I have the same problem as TweaK..

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version