Phone
#1

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.
Reply


Messages In This Thread
Phone - by Rokzlive - 30.12.2010, 23:53
Re: Phone - by Rokzlive - 31.12.2010, 00:05
Re: Phone - by _rAped - 31.12.2010, 00:19
Re: Phone - by veyron - 31.12.2010, 00:45

Forum Jump:


Users browsing this thread: 1 Guest(s)