30.12.2010, 23:53
How do i make a callback to see if the the field "phone" in my "accounts" table for a certain player is set to 1 to have a phone? For example.
If the feild is 0
Player enters...
/call
They get back...
You dont have a phone! Buy one at the shop!
If the feild is 1
Player enters...
/call
Then the command i coded kicks in.
How would i do that?
And what would i use in the shop to set the field from 0 to 1 when they buy the phone?
I use striken kids mysql plugin.
Thankyou.
If the feild is 0
Player enters...
/call
They get back...
You dont have a phone! Buy one at the shop!
If the feild is 1
Player enters...
/call
Then the command i coded kicks in.
How would i do that?
And what would i use in the shop to set the field from 0 to 1 when they buy the phone?
I use striken kids mysql plugin.
Thankyou.