Disable entrance/exit
#1

Is there a way to disable the entrance/exit (the yellow arrow to the ground) in only a
few places (all except fast-foods ) ?
Reply
#2

No. You must either disable all or none.

I do have the coordinates of all the fast food restaurants though. Disregard the angle field, I do not use the standard fast food interiors.

http://pastebin.com/kSVd982d
Reply
#3

How do you disable them all anyway please? thanks
Reply
#4

Put this under OnGameModeInit

pawn Code:
DisableInteriorEnterExits();
Reply
#5

to disable them all is :

pawn Code:
DisableInteriorEnterExits();
under :

pawn Code:
public OnGameModeInit()
Reply
#6

Damn, because on my server people get hungry and they have to eat on fast-foods, but for some other things I have to disable the enter/exit thing.


Ps: these coordinates are from the entrance of the fast food ?


Code:
This forum requires that you wait 120 seconds between posts. Please try again in 14 seconds.
Reply
#7

You can't. You can either disable all of them, or none of them. If you do disable all of them, you will have to code pickups, checkpoints, or something to get you to those fast-foods..
Reply
#8

Yeah, well it sure will be a lot of work

Ps:and how would I make the player able to buy food (is not about going inside, is about eating)
Reply
#9

VEy useful
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)