The Arcive of vBulletin Modifications Site. |
|
Icash conditional help Details »»
|
|||||||||||||||||||||||||
Ok I?ve connected Icash with ibProArcade and it work great. But I have a question. Can I let the guests play at the arcade? Because when they play it says ?you don?t have enough
money? The plugin looks like this. PHP Code:
Can you suggest me a conditional too ignore this plugin if ?guest? ? Thanks Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
check the arcade permission value, if this is >2 it is a guest playing...
or just check for userid, if this is zero it surely is a guest - but remember that you can enable guests to save scores in the arcade and then they use a unique userid (setup via arcade-settings) |
|
#3
|
|||
|
|||
|
Thanks for the reply MrZeropage. I know how to find a userid but I dont know what code use in that plugin so it dont charge the amount 1 or check for icash amount for guests.
Any ideas? |
![]() |
|
|