[FilterScript] Slapped UP!
#1

Vote System V1


What this is?
This is a vote-slap system.
Players can vote-slap a player.
Players can not vote-slap an Rcon admin.
It creates a text draw.
Once the player gets slapped or does not or not enough votes are given the text draw gets deleted.
The text draw and vote system is timer based.
The minimum for this command to work are 3 players needed in the server or else you will not be able to use this command.
To change this you can take these bits out...
Line 93-95 and Line 164-175

Line 93,94,95
pawn Code:
VPlayers = GetPlayersOnServer()/2+1;
if(GetPlayersOnServer() <= 2)
return SendClientMessage(playerid,GREY,"The minimum players required for this command to work are 3.");
Line 164,165,167,168,169,170,171,172,173,174 AND AT LAST 175.
pawn Code:
GetPlayersOnServer()
{
    new count;
    for(new x=0; x< MAX_PLAYERS; x++)
    {
        if(IsPlayerConnected(x))
        {
            count++;
        }
    }
    return count;
}
How to use it?
Players-
/voteslap [ID] [Reason]
/votes
Rcon Admins-
/stopvote

Only the voteslap system
http://pastebin.com/VGFCrhAS


Adding More Vote Stuff!


Added Vote Cash To The Vote System
What this is?
Does the same as the vote slap system with all textdraws etc..
But one differenet thing is if the player gets voted out on this one he loses 10K

How to use it?
Players-
/votecash [ID] [REASON]
/votec

Rcon Admin-
/stopvote

Voteslap System With VoteCash System
http://pastebin.com/v2q881Vc

I am still updating this with new ideas and suggestions
Reply


Messages In This Thread
Slapped UP![Updatin' Mode] - by RandomDude - 19.04.2013, 16:45
Re: Slapped UP! - by Ibrahim.E - 19.04.2013, 17:31
Re: Slapped UP! - by RandomDude - 19.04.2013, 17:34
Re: Slapped UP! - by Ibrahim.E - 19.04.2013, 17:38
Re: Slapped UP! - by RandomDude - 19.04.2013, 17:39
Re: Slapped UP! - by matthew1211 - 19.04.2013, 19:22
Re: Slapped UP! - by RandomDude - 20.04.2013, 12:24
Re: Slapped UP! - by RandomDude - 20.04.2013, 15:04
Re: Slapped UP! - by Onfroi - 20.04.2013, 15:16
Re: Slapped UP! - by RandomDude - 20.04.2013, 15:33

Forum Jump:


Users browsing this thread: 1 Guest(s)