English Specific VIP Area

5 replies
Goto Page
To the start Previous 1 Next To the start
13.10.12 01:32:58 pm
Up
Marcell
Super User
Offline Off
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..
13.10.12 03:26:32 pm
Up
kalis
User
Offline Off
it's possible :)) !
13.10.12 03:28:21 pm
Up
Antaxus
User
Offline Off
@user kalis: I think he is asking for help for making it
13.10.12 05:45:17 pm
Up
omg
User
Offline Off
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
will code for food
13.10.12 06:02:13 pm
Up
Jynxxx
User
Offline Off
Should look something like this. Not actual code just change somethings up and it would work.
Code:
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
13.10.12 06:57:06 pm
Up
Marcell
Super User
Offline Off
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