Jump to content

_K3NT_

Membru
  • Posts

    2
  • Joined

  • Last visited

Posts posted by _K3NT_

  1. public function lacks forward declaration (symbol "CancelVote")

    AM incercat sa implemenentez u nsistem de /vote

    public CancelVote()
    {
        if(OnVote == 0) return 0;
        new str[128], str2[128];
        foreach(new i : Player) Voted = -1;
        format(str, sizeof(str), "Vote: %s is OVER!", Voting[Vote]);
        format(str2, sizeof(str2), "Yes: %d No: %d", Voting[VoteY], Voting[VoteN]);
        SendClientMessageToAll(COLOR_GREEN, str);
        SendClientMessageToAll(COLOR_GREEN, str2);
        OnVote = 0;
        Voting[VoteY] = 0;
        Voting[VoteN] = 0;
        return 1;
    }

     

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.