How to use OnPlayerGamble
#1

Wondering if anyone has experience using this. I am trying to do it for a server but it isn't going to well. It's used in the UF.INC include. (Useful Functions)
Reply
#2

chuck us a link for the include, and i'll have a look.
Reply
#3

www.smallo.net/uf.zip
Reply
#4

Ok, I had a squiz thru it, so what exactly do you wan't to do?
Reply
#5

whenever someone does any form of gambling kick them from the casino. I have that code already i just want to know how to indentify if they have gambled or not.
Reply
#6

Use,

1. IsplayerInArea

Check if the player is inside the casino and then kick...

If that doesn't work, I'll think of something else.
Reply
#7

Quote:
Originally Posted by §TeddyBear§
Use,

1. IsplayerInArea

Check if the player is inside the casino and then kick...

If that doesn't work, I'll think of something else.
No i still want the casinos to be enterable and used fully i just dont want to be able to gamble thats why i asked whats this onplayergamble thing
Reply
#8

Quote:
Originally Posted by [DRuG
Smallo ]
Quote:
Originally Posted by §TeddyBear§
Use,

1. IsplayerInArea

Check if the player is inside the casino and then kick...

If that doesn't work, I'll think of something else.
No i still want the casinos to be enterable and used fully i just dont want to be able to gamble thats why i asked whats this onplayergamble thing
Make money serverside, instead of clientside.

Easiest way
Reply
#9

Quote:
Originally Posted by Norn
Quote:
Originally Posted by [DRuG
Smallo ]
Quote:
Originally Posted by §TeddyBear§
Use,

1. IsplayerInArea

Check if the player is inside the casino and then kick...

If that doesn't work, I'll think of something else.
No i still want the casinos to be enterable and used fully i just dont want to be able to gamble thats why i asked whats this onplayergamble thing
Make money serverside, instead of clientside.

Easiest way
example
Reply
#10

Quote:
Originally Posted by [DRuG
Smallo ]
Quote:
Originally Posted by Norn
Quote:
Originally Posted by [DRuG
Smallo ]
Quote:
Originally Posted by §TeddyBear§
Use,

1. IsplayerInArea

Check if the player is inside the casino and then kick...

If that doesn't work, I'll think of something else.
No i still want the casinos to be enterable and used fully i just dont want to be able to gamble thats why i asked whats this onplayergamble thing
Make money serverside, instead of clientside.

Easiest way
example
I'll remake my tutorial when i have time.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)