19.04.2013, 16:45
(
Last edited by RandomDude; 20/04/2013 at 03:03 PM.
)
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.");
pawn Code:
GetPlayersOnServer()
{
new count;
for(new x=0; x< MAX_PLAYERS; x++)
{
if(IsPlayerConnected(x))
{
count++;
}
}
return count;
}
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