Disable gamble
#1

Is there a way to prevent others to gamble?
Reply
#2

You could check if a player is in the range of a gambling machine, and if they pressed the enter key. If they did, then you could add something that kicks them out of the casino or moves them away from the machine.
Reply
#3

Quote:
Originally Posted by bensmart469
Посмотреть сообщение
You could check if a player is in the range of a gambling machine, and if they pressed the enter key. If they did, then you could add something that kicks them out of the casino or moves them away from the machine.
Didn't think about that. Thanks
Reply
#4

You could try what Ben said, or you can remove all gambling machines using RemoveBuildingForPlayer.
And third, you could use this: https://sampforum.blast.hk/showthread.php?tid=355325

I'm afraid there's no quick way of doing this.

Kind regards,
Mike Peterson
Reply
#5

Remove them with RemoveBuildingForPlayer (as Mike_Peterson said) and then re-create them as objects.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)