“Poll | polls on the server” plugin for CS 1.6
About this content
The Poll plugin lets you create any number of polls on your CS 1.6 server, and you can use them for any purpose, from silly questions like who’s cooler, T or CT, to serious polls about changes to your server. There is also protection against players who have spent too little time on the server; such players will not be able to participate in a poll.
The plugin is written in ReAPI and works with the MySQL database and the CSstatsX SQL module, so installing it takes a bit of effort, but it’s worth it.
AmxModX 1.9.0
ReAPI
CSstatsX SQL
Manually create a table in your database:
Here, "table_name" is the table name; you can name it whatever you like.
All polls are configured in the file poll.ini
Author: Nunfy
Version: 1.1
The plugin is written in ReAPI and works with the MySQL database and the CSstatsX SQL module, so installing it takes a bit of effort, but it’s worth it.
Requirements:
AmxModX 1.9.0
ReAPI
CSstatsX SQL
Settings:
#define MYSQL_HOSTNAME "localhost" // адрес сервера mysql
#define MYSQL_USERNAME "root" // логин пользователя mysql
#define MYSQL_PASSWORD "" // пароль пользователя mysql
#define MYSQL_DATABASE "up" // название базы данных
#define MYSQL_TABLE "table_name" // название таблицы в бд
#define MAX_MENU_SIZE 512 // Максимальный размер меню
#define MAX_ITEM_LENGHT 200 // Максимальный длинна пункта меню
#define MAX_POLLS 5 // Максимальное количество опросов
#define MAX_NICKNAME_LENGHT 30 // Максимальная длинна никнейма
#define MAX_STEAM_ID_LENGHT 35 // Максимальная длинна стим ид
#define MAX_MAP_LENGHT 30 // Максимальная длинна названия карты
#define MIN_USER_GAME_TIME 3600 // Минимальное время нахождения игрока на сервере(в секундах)Installation:
Manually create a table in your database:
CREATE TABLE table_name( id int(11) auto_increment primary key, nickname varchar(30) not null, steam_id varchar(35) not null, question varchar(200) not null, answer varchar(200) not null, next_poll_id int(2) not null, map varchar(30) not null ) Here, "table_name" is the table name; you can name it whatever you like.
All polls are configured in the file poll.ini
Author: Nunfy
Version: 1.1

Comments (0)