custom avatar autochange

For discussion of the Poker Mavens server module and other administration topics

custom avatar autochange

Postby mike123 » Fri Jan 07, 2011 5:05 am

hello i wanna create a form for users that do the followin. is it possible?

custom avatar : VIP avatar..

input username
input password

account decrement balance 5000 chips. / change avatar to custom avatar.
if chip balance < 5000 skip decrement and write not enough chips in your account.

thank you.
Posts: 72
Joined: Tue Feb 16, 2010 7:30 am

Re: custom avatar autochange

Postby Kent Briggs » Fri Jan 07, 2011 10:28 am

You can assign a custom avatar to a player using the AccountsEdit API command. Set their Avatar parameter to 0 and their AvatarFile parameter to the file name of the image you want to use, which must already be in the server's local file system. There is no file upload mechanism in Poker Mavens. You would have to implement your own system and ensure the file is the right size and format.
Kent Briggs - [email protected]
Briggs Softworks -
Kent Briggs
Site Admin
Posts: 3956
Joined: Wed Mar 19, 2008 8:47 pm

Return to Site Administration

Who is online

Users browsing this forum: No registered users and 7 guests