Voting system -> string arrays?
#1

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 ...
Reply
#2

bump ?!!?
Reply
#3

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.
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)