SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 19/04/2013, 04:45 PM   #1
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 390
Reputation: 0
Default Slapped UP![Updatin' Mode]

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

Last edited by RandomDude; 20/04/2013 at 03:03 PM.
RandomDude is offline   Reply With Quote
Old 19/04/2013, 05:31 PM   #2
Ibrahim.E
Huge Clucker
 
Ibrahim.E's Avatar
 
Join Date: Mar 2013
Location: I dun know.
Posts: 485
Reputation: 50
Default Re: Slapped UP!

Not Bad
__________________
Ibrahim.E is offline   Reply With Quote
Old 19/04/2013, 05:34 PM   #3
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 390
Reputation: 0
Default Re: Slapped UP!

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
RandomDude is offline   Reply With Quote
Old 19/04/2013, 05:38 PM   #4
Ibrahim.E
Huge Clucker
 
Ibrahim.E's Avatar
 
Join Date: Mar 2013
Location: I dun know.
Posts: 485
Reputation: 50
Default Re: Slapped UP!

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 .
__________________
Ibrahim.E is offline   Reply With Quote
Old 19/04/2013, 05:39 PM   #5
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 390
Reputation: 0
Default Re: Slapped UP!

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
RandomDude is offline   Reply With Quote
Old 19/04/2013, 07:22 PM   #6
matthew1211
Big Clucker
 
Join Date: Jul 2012
Posts: 162
Reputation: 25
Default Re: Slapped UP!

this is so good for annoying trolls
matthew1211 is offline   Reply With Quote
Old 20/04/2013, 12:24 PM   #7
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 390
Reputation: 0
Default Re: Slapped UP!

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
RandomDude is offline   Reply With Quote
Old 20/04/2013, 03:04 PM   #8
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 390
Reputation: 0
Default Re: Slapped UP!

Updated with a vote cash system
RandomDude is offline   Reply With Quote
Old 20/04/2013, 03:16 PM   #9
Onfroi
Banned
 
Join Date: Jan 2012
Location: Dallas, Texas
Posts: 1,504
Reputation: 226
Default Re: Slapped UP!

Pretty Cool
Onfroi is offline   Reply With Quote
Old 20/04/2013, 03:33 PM   #10
RandomDude
Huge Clucker
 
Join Date: Jun 2011
Location: Behind You
Posts: 390
Reputation: 0
Default Re: Slapped UP!

Quote:
Originally Posted by Onfroi View Post
Pretty Cool
Aha thanks dude!
RandomDude is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need /slap [ID] [how high you go when slapped] Ryan_Michael Scripting Help 26 24/07/2012 06:52 AM
Slapped Together some Script and Im getting 3 Identical Errorrs, Matthew_Johnston Help Archive 11 09/12/2010 10:04 PM


All times are GMT. The time now is 02:28 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.