Hey, could someone explain me how should I make a something like a map list in mysql, and I want to make that on every map last round players will get a map rate menu, and they can rate a map that they have played right now,
Like:
Rate map : De_dust2
5/5 Stars
4/5 Stars
3/5 Stars
2/5 Stars
1/5 Stars
But I want to avoid multiple votes for one map, for Example
Player1 can rate for 1 map only 1 time.
Like Player1 once voted for de_dust2, so next time he wont get the rate menu if the rating is for de_dust2.
How should my mysql table look like.
Lets say right now I've this:
Quote:
Map----------Rating----------Total_Votes
de_dust2----3.4--------------27
de_inferno--4.2--------------60
|
But I with this table I can't check does user already voted for de_dust2.
Maybe it's possible to make a .txt files like:
de_dust2.txt and write there a steamids of people that already have rated de_dust2 map (if yes, how to do it ?)
Quote:
de_dust2.txt
reinert
trenier2
niertre6
kamsd55
asodmn
|