• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Gesior ACC] Polls System v.2.2 + graphic bars

This script doesn't need redirect. Today I will release new version :)

#edit
New vesrion may have more than 3 answers.
That I can release it in an hour
 
Last edited:
I released new version. This version may have many answers!
Sorry for my english.
 
What you need, because I don't understand your post, query to update table `z_vote`?
 
If I had more time, I will add this feature.
But on this time you can use mysql query to changing polls :)
 
Last edited:
Hey averatec, can I edit your code and release here? cuz of I've added a few interesing things + using js, you can configure what level can vote at poll, you can "execute" a player from voting, and better % showing [in bars]. :)
 
Hey averatec, can I edit your code and release here? cuz of I've added a few interesing things + using js, you can configure what level can vote at poll, you can "execute" a player from voting, and better % showing [in bars]. :)

I will release new version tomorrow, but checking level is in script :)

Code:
    $level = 10; // need level to vote 
     
    /* Checking Account */ 
    $account_players = $account_logged->getPlayers(); 
    foreach($account_players as $player) 
    { 
        $player = $player->getLevel(); 
        if($player >= $level) 
        $allow=true;         
    }
 
I will release new version tomorrow, but checking level is in script :)

Code:
    $level = 10; // need level to vote 
     
    /* Checking Account */ 
    $account_players = $account_logged->getPlayers(); 
    foreach($account_players as $player) 
    { 
        $player = $player->getLevel(); 
        if($player >= $level) 
        $allow=true;         
    }

alright, but thats just one feathure, will you add showing percents at graphics bars?
 
alright, but thats just one feathure, will you add showing percents at graphics bars?

Yes, I have a script of graphic bars, I will release this script tomorrow.

#edit
Bars added today.
 
Last edited:
I added graphic bars :) New version will be release tomorrow, but I don't know what can I add.
 
Last edited:
Bars don't seem to work for me (they don't show up)
I've updated it as I should.. but I still don't see them
 
Another bug: (I think it was introduced in the latest version ;))
polls1.png

polls2.png
 
I didn't tried that, I selected all times i teste first option. But for sure bars are not working, haha
 
Back
Top