Posts: 120
Threads: 28
Joined: Jan 2008
Reputation:
0
hey can i make it so that the 'Enter' key is disabled inside a Interior
this is for a casino and i dont want gambling, so please help. lol
Posts: 123
Threads: 4
Joined: Jan 2009
Reputation:
0
I don't think GetPlayerKeys (or OnPlayerKeyStateChange) detects the enter key. Try just putting an object over the gambling machine, so they cant see it, or reach if it they do press enter.
Posts: 1,290
Threads: 69
Joined: Dec 2006
Reputation:
0
I duno if OnPlayerKeyStateChange is called before or after the key has been pressed. Maybe you could try returning 0 and seeing if it stops the key from being used.
Posts: 54
Threads: 3
Joined: Jun 2006
Reputation:
0
this wont work. Some of the casinos share the same ID as certain other interiors which have vending machines in it. So the player would get punished for being in those to. There not actually interior ID's there universe ID's and its annoying.