custom avatar autochange

For discussion of the Poker Mavens server module and other administration topics
Post Reply
mike123
Posts: 72
Joined: Tue Feb 16, 2010 7:30 am

custom avatar autochange

Post by mike123 »

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

custom avatar : VIP avatar..

form
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.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: custom avatar autochange

Post by Kent Briggs »

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