Forum

> > CS2D > Scripts > Specific VIP Area
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch Specific VIP Area

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt Specific VIP Area

Marcell
Super User Off Offline

Zitieren
Hi!

I wanna ask something..
Possible to make a specific area to VIPs?
So only specific(USGN) players can across this areas?
other players die if walk to this area..

alt Re: Specific VIP Area

omg
User Off Offline

Zitieren
blocking access by killing them would be much less efficient than denying them access through other means like not being able to go there in the first place unless u have vip

alt Re: Specific VIP Area

Jynxxx
User Off Offline

Zitieren
Should look something like this. Not actual code just change somethings up and it would work.
1
2
3
4
5
6
7
8
9
10
VIPmove = {}

addhook("movetile","_movetile")
function _movetile(id,x,y)
	local state = true
	if player not vip then
		parse("setpos "..id.." "..((VIPmove[id][1]*32)+16).." "..((VIPmove[id][2]*32)+16))
		state = false
	end
end

alt Re: Specific VIP Area

Marcell
Super User Off Offline

Zitieren
Something like...yes

So only those players can across on this area who access it by usgn id!!
Otherwise other players can't across
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht