Voting system -> string arrays? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Voting system -> string arrays? (
/showthread.php?tid=158394)
Voting system -> string arrays? -
Rizard - 09.07.2010
fellow scripters,
Since I decided to add a /vote system to my server (7/09) I've been searching on how to work with
array strings or
string arrays w/e ... with not an obscene amount of succes (just found enums, and a few things in pawn guide.pdf .. )
so the problem:
I like to have all the arena names
(yes, strings with spaces) linked to a vote count
(int/number/...). AND being able to search in the array for the arena name (
string) with the most vote counts.
I believe the theory is kinda correct
BUT please help me along on how to put this into "pawn".
thnx
PS: I already posted this in the minor querys shizzle topic but no response so far so ...
Re: Voting system -> string arrays? -
Rizard - 10.07.2010
bump ?!!?
Re: Voting system -> string arrays? -
Calgon - 10.07.2010
I think someone asked for the same thing a while ago, and I posted the code for them, but I can't seem to find the post. Your theory is correct, it's the same way I used.
Re: Voting system -> string arrays? -
Rizard - 10.07.2010
Quote:
Originally Posted by Calgon
I think someone asked for the same thing a while ago, and I posted the code for them, but I can't seem to find the post. Your theory is correct, it's the same way I used.
|
Can't seem to find it either... willing to re-explain?
Thnx 'n grts