Raised This Month: $ Target: $400
 0% 

Variables


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Napoleon_be
Veteran Member
Join Date: Jul 2011
Location: Belgium
Old 05-10-2012 , 11:04   Re: Variables
Reply With Quote #8

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?
__________________
Napoleon_be is offline
Send a message via Skype™ to Napoleon_be
 



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