VoteKick Help
#1

ok, so I've been making a votekick command for my server and i don't know where to put

Код:
if(VoteKick[playerid] == MAX_VOTEKICK)
{
  SendClientMessage(playerid, COLOR_LIGHTBLUE, "You have been voted to be kciked 5 times");
  Kick(playerid);
}
Reply
#2

Quote:
Originally Posted by sant
ok, so I've been making a votekick command for my server and i don't know where to put
Код:
You have been voted to be kciked 5 times"
first, learn how to spell kicked. second. there has to be more code than this. for the votekick. like if(strcmp blah blah. with the /votekick [id/name] thing.
Reply
#3

I think there should be a timer that if in 30 second, there already 5 votes, the player will be kicked.
Or, in OnPlayerCommandText under strcmp("/votekick" thing....
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)