- 0
Eroare la compilare
-
Recently Browsing 0 members
- No registered users viewing this page.
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.
Question
_K3NT_
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;
}
5 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now