Author Topic: Request Script  (Read 697 times)

0 Members and 1 Guest are viewing this topic.

Offline mascarado

  • Major(1)
  • Posts: 16
Request Script
« on: February 06, 2011, 03:03:14 pm »
Could someone do me a script !vote mode - for players to start a vote for the next game mode

Offline KEEN

  • Major
  • *
  • Posts: 95
  • soldat champagne
    • Soldat Argentina
Re: Request Script
« Reply #1 on: February 09, 2011, 09:27:33 am »
I think I have what you need. This script exchanged between INF and CTF.
To work, creates the files:
Code: [Select]
soldatINF.ini
soldatCTF.ini
inf_maps.txt
ctf_maps.txt

Then, edit the variables in ModeChanger.pas:
Code: [Select]
const VOTE_PERC = 55;
const VOTE_TIME = 60;

You can add or remove anyway you want, the script is simple, dont forget to create your files soldatXXX.ini and corresponding XXX_maps.txt!

Note: The script is in Spanish, translate it if you want.