#Al-Ha[J]aRii Posted June 3, 2013 Share Posted June 3, 2013 how did I can do it's when put name in xml file put the name in the grid-list and when they click in the button put in Column number like to be and when click in button don't like to be add number and player get his serial for not put much with anthore account and is player was click in don't like to be and he click in the button like to be changed from don't to like to be this is the image for my mode Link to comment
iPrestege Posted June 5, 2013 Share Posted June 5, 2013 I can't understand you clearly can you explain more clear ? Link to comment
..:D&G:.. Posted June 5, 2013 Share Posted June 5, 2013 1. I think he is saying that when a player clicks the 'Like to be' button, in the 'Player Name' colum, the player's name should be added and on the 'Like to be?' colum, number 1 should be added, and on 'Don't like to be?' colum number 0. And all this needs to be saved in a XML file. 2. He wants to add a player in the XML file, so it shows in the 'Player Name' colum, and when players vote for that player to get admin rights, lets say 2 people clicked on 'Like to be' button, and on the 'Like to be?' colum, numer 2 will be added, and if other people vote yes, number 3 should be added and soo one, and the same think as in 'Don't like to be'. He is also saying that he wants a change-mind option, if a player voted 'Don't like to be', and when he presses 'Like to be', take away 1 from the 'Don't like to be' colum and add 1 to 'Like to be' and vice versa... P.S: You will need an anti-spam for this, so a player can feedback just onces. Link to comment
iPrestege Posted June 5, 2013 Share Posted June 5, 2013 I would recommend you to use SQL Or MySQL To save them and when player click check if player already and and..etc i swear SQL is the best way and it's your option any way : SQL Function : executeSQLQuery MySQL Functions : dbConnect -- Connect dbExec -- Insert or Up to date dbPoll -- Get Results ! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now