Forum

> > CS2D > Scripts > how to make vip
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch how to make vip

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt how to make vip

wato24
User Off Offline

Zitieren
i have admin script.
can any body tell me how do the command

!makevip [id]

alt Re: how to make vip

DC
Admin Off Offline

Zitieren
Technically impossible. The V.I.P. is intended for the standard game mode and as_ maps only. You can't use it for your Lua script stuff.

alt Re: how to make vip

oxytamine
User Off Offline

Zitieren
@user DC:
He means VIP users on his server... With super retarded purple color and very special "@VIP@" sign before his name.
1× editiert, zuletzt 28.06.12 21:15:58

alt Re: how to make vip

DC
Admin Off Offline

Zitieren
Oh. Really? Wow... in this case it's just pointless but possible.

alt Re: how to make vip

EngiN33R
Moderator Off Offline

Zitieren
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
admins={} --Your almighty admin USGNs go here
vips={} --If you wish, you can insert VIPs manually

addhook("say","makevipcommand")
function makevipcommand(id,t)
	for _,uid in pairs(admins) do
		if t:sub(1,8)=="!makevip" and player(id,"usgn")==uid then
			local iid=tonumber(t:sub(10))
			vips[#vips+1]=player(iid,"usgn")
			msg("Behold, everyone! "..player(iid,"name").." has just been promoted to VIP!@C")
			msg("All hail "..player(iid,"name").."!@C")
		end
	end
	for _,uid in pairs(vips) do
		if player(id,"usgn")==uid then
			msg("Oh look, "..player(id,"name").." is a god damn VIP! All obey his word that shall follow:@C")
			msg(string.char(169).."255255255@VIP@"..player(id,"name")..": "..t)
		end
	end
end

I couldn't be arsed with making a save system. Seriously, just go grab an admin script, there's a plethora of those.
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht