Forum

> > CS2D > Scripts > Specific VIP Area
Forums overviewCS2D overview Scripts overviewLog in to reply

English Specific VIP Area

5 replies
To the start Previous 1 Next To the start

old Specific VIP Area

Marcell
Super User Off Offline

Quote
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..

old Re: Specific VIP Area

omg
User Off Offline

Quote
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

old Re: Specific VIP Area

Jynxxx
User Off Offline

Quote
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

old Re: Specific VIP Area

Marcell
Super User Off Offline

Quote
Something like...yes

So only those players can across on this area who access it by usgn id!!
Otherwise other players can't across
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview