SA-MP Forums Archive
[FilterScript] Slapped UP! - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Slapped UP! (/showthread.php?tid=431730)



Slapped UP![Updatin' Mode] - RandomDude - 19.04.2013

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



Re: Slapped UP! - Ibrahim.E - 19.04.2013

Not Bad


Re: Slapped UP! - RandomDude - 19.04.2013

Quote:
Originally Posted by Ibrahim.E
View Post
Not Bad
I thought I would do something different rather than a VOTE KICK system!
Imagine a Vote Ban System LMFAO Shit would get real. :P


Re: Slapped UP! - Ibrahim.E - 19.04.2013

Quote:
Originally Posted by RandomDude
View Post
I thought I would do something different rather than a VOTE KICK system!
Imagine a Vote Ban System LMFAO Shit would get real. :P
It is a good Idea, and great as your first work . Keep it up , you can update it with a Kick Voting System , Gift Voting System , I hope you like my suggestion .


Re: Slapped UP! - RandomDude - 19.04.2013

Quote:
Originally Posted by Ibrahim.E
View Post
It is a good Idea, and great as your first work . Keep it up , you can update it with a Kick Voting System , Gift Voting System , I hope you like my suggestion .
Note my first filterscript to be honest I have made more but there more private have not released them if you understand :P for my own server. Ahh I like your suggestion I might update this WHEN I'm bored :P


Re: Slapped UP! - matthew1211 - 19.04.2013

this is so good for annoying trolls


Re: Slapped UP! - RandomDude - 20.04.2013

Quote:
Originally Posted by matthew1211
View Post
this is so good for annoying trolls
Emm Yeah! I'm going to release the one were you vote to take the players cash away and he loses 10K
But you can change that ... :P


Re: Slapped UP! - RandomDude - 20.04.2013

Updated with a vote cash system


Re: Slapped UP! - Onfroi - 20.04.2013

Pretty Cool


Re: Slapped UP! - RandomDude - 20.04.2013

Quote:
Originally Posted by Onfroi
View Post
Pretty Cool
Aha thanks dude!