Forum

> > CS2D > Scripts > Get automatically VIP in Hc Script.
Forums overviewCS2D overview Scripts overviewLog in to reply

English Get automatically VIP in Hc Script.

2 replies
To the start Previous 1 Next To the start

old Get automatically VIP in Hc Script.

Man Of Steel
User Off Offline

Quote
Hello everyone,

If anybody play at least 2 days he will automatically get Vip in Hc Admin Script but if anybody is mod1 mod2 admin so he don't get vip and when anybody auto-vip he will reveive msg (i will edit msg myself) and if anybody not playing server till 4 days he will a=automatically remove and make user.

Anybody can make and give me this lua ? i see auto-vip lua in a lot of servers.I tried to find in search but there is no auto-vip script for hc admin script. please help me

old Re: Get automatically VIP in Hc Script.

princeofpersia
User Off Offline

Quote
add this one in hc.moderation.init() in moderation lua

1
hc.add_menu_command("Get VIP", hc.moderation.GVIP_say_command, hc.GETVIP_LEVEL, hc.COMMAND_MENU_KEY)

and add this in a free place of moderation lua

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
function hc.moderation.GVIP_say_command(p)
	local name = player(p, "name")
    local usgn = hc.get_usgn(p)
	
if usgn > 0 then
	if hc.get_level(p) ~= hc.USER then
	hc.error(p, "You Have Vip or Higher RANK!")
	else
	if stats(player(p, "usgn"), "secs") >= (3600 * 48) then
	hc.init_users() -- Reload the users file
    hc.users[usgn] = { name = name, level = hc.VIP }
    hc.save_users()
    hc.event(p, "You are now VIP.")
	else
	hc.error(p, "Frist Play 12 Hours!")
	end
end
	else
	hc.error(p, "You need USGN for VIP!")
end
end

whit this code you need to use F2 menu . but if you want auto vip with minute hook i can make it for u tonight
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview