AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Delete this post. (https://forums.alliedmods.net/showthread.php?t=87542)

EzzEt 03-13-2009 11:42

Delete this post.
 
Thanks for the help! Everything works now! Delete this post.

[ --<-@ ] Black Rose 03-13-2009 12:09

Re: Help with vote funktion!
 
And that is what it does.

EzzEt 03-13-2009 12:28

Re: Help with vote funktion!
 
Quote:

And that is what it does.
No the "counts" variable checks how many players that is in the server! Not how many of the players that have said "rockthevote".

fysiks 03-13-2009 12:53

Re: Help with vote funktion!
 
Quote:

Originally Posted by EzzEt (Post 779752)
No the "counts" variable checks how many players that is in the server! Not how many of the players that have said "rockthevote".

Incorrect. You have most of your code set up for "counts" to count the number of people that rockthevote. BUT, you reassign that same variable to the number of players.

So, remove this line:

Code:

counts = get_playersnum();

EzzEt 03-13-2009 13:43

Re: Help with vote funktion!
 
Quote:

Incorrect. You have most of your code set up for "counts" to count the number of people that rockthevote. BUT, you reassign that same variable to the number of players.
Okey thanks! Im gonna test it tomorrow. Post later if its works!


All times are GMT -4. The time now is 09:01.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.