[Help]Online Market!

10/06/2009 16:33 zbest#1
So let's say i have a PHP page named
ONLINEMARKET.

So in this page i have several items like a pictures,so i wonder if is posible
like when he click the item,server to give it to the respective ip(player) in -game that item?:D

Source 5017/5065/5072/5095,any of this doesn't matter. :)
10/06/2009 16:50 raidenx123#2
not by IP, since you use a username and password to login. So it wouldnt know what character is yours if it checked your IP.

Another way would to have a login feature on your website and when they purchase it, then it would go into the 'characters' table and make it select the inventory column, and place the item there.
But you'd want the php script to check if there is 40 items in the inventory slot, if there is then it would return an error (you could make it say "Please free a slot in your inventory")
10/06/2009 17:00 zbest#3
That i want would be so nice with CP :).