Raised This Month: $51 Target: $400
 12% 

How will you prevent notVIP's to access vip room?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
klausenbusk
AlliedModders Donor
Join Date: Jan 2011
Old 04-12-2011 , 09:26   How will you prevent notVIP's to access vip room?
Reply With Quote #1

Hello

I have coded a build mod, but how can i block not VIP access vip room?
I have maked so, when you presse on the VIP door button, it will check if you are vip, if not you will get "You are not vip" else it will AcceptEntityInput(154, "open");
and it work fine, but so can those who are not are VIP, just follow while the door is open.
Here are a picture on the vip door:


My first idea was, check if player was in the vip zone, and if he not are vip, will he be teleported back to eks spawn?

Someone who has a better idea? an invisible wall?

Last edited by klausenbusk; 04-12-2011 at 09:37.
klausenbusk is offline
bobthebuilder
SourceMod Donor
Join Date: Dec 2010
Location: Randers/Denmark/Earth
Old 04-12-2011 , 14:22   Re: How will you prevent notVIP's to access vip room?
Reply With Quote #2

i did not tried to start a flamewar ^^ just wanted fault's steam add......
bobthebuilder is offline
Send a message via Skype™ to bobthebuilder
Malak044
Member
Join Date: Feb 2011
Location: héhéhé
Old 04-13-2011 , 06:04   Re: How will you prevent notVIP's to access vip room?
Reply With Quote #3

what about teleporting the player in the vip zone ... dont make a door but a teleport engine (like in HL) and when he press the button, it teleport him (tchek entity input) ...
Malak044 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 11:49.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode