Raised This Month: $ Target: $400
 0% 

Variables


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 05-10-2012 , 11:37   Re: Variables
Reply With Quote #1

Quote:
Originally Posted by Napoleon_be View Post
PHP Code:
public Cmd_EndVote(id) {
    new 
maxvote max(szNoScopemax(szNormalmax(szGravityszVip)))
    
    if (
szNoScope == maxvote) {
        
Cmd_NoScope(id)
        
ColorChat(idGREEN"[%s]^1 The vote has ended!"szPrefix)
    } else if (
szNormal == maxvote) {
        
Cmd_Normal(id)
        
ColorChat(idGREEN"[%s]^1 The vote has ended!"szPrefix)
    } else if (
szGravity == maxvote) {
        
Cmd_HigherGravity(id)
        
ColorChat(idGREEN"[%s]^1 The vote has ended!"szPrefix)
    } else { 
// implied that szVip is max
        
Cmd_KillVip(id)
        
ColorChat(idGREEN"[%s]^1 The vote has ended!"szPrefix)
    }

It's printing the message, but it ain't starting the game... Should i loop trough something?
Starting the game? If the message is working then this code is working. If something else is not working then you need to look at the code that actually isn't working.
__________________
fysiks is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:28.


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