[FilterScript] Map Voting System [Dialog,Editable Maps]
#1


This does not save the map, tho it might still be very useful.
I cannot know when a person wants the vote to start thou i have not implemented a auto detector or similar.
Simple Version:
Add this to where you want the voting to start:
Код:
CallRemoteFunction("BeginVote","");
Next to add a new map/remove/edit one, you'l needa open votemap.pwn and edit the two Variables MapNames and Map dont be confused. The map var is actually the names and MapNames the Locations. They are linked like this:
First entry in MapNames with First Entry in Map. Warrning: Map and MapNames have to have the Same amount of Entries or this will not work.
I suggest you removing All the default ones and doing this like this:
pawn Код:
new MapNames[][4] =
{
    {1,33,7}
};

new Map[][] =
{
    "Leet"
};
Will create only one map, Leet with co-ordinates X 1 Y 33 Z 7

Apologies if there are some more Prints left for testing, feel free to tell me them, and i will remove them.
DOWNLOAD
Download Link 1


INSTALLATION
Simple, just Place both files into filterscripts and edit the server.cfg.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)