Raised This Month: $ Target: $400
 0% 

(syntax?) question related to my vote plugin.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
wAyz
Senior Member
Join Date: Feb 2010
Location: Germany
Old 07-24-2018 , 12:27   (syntax?) question related to my vote plugin.
Reply With Quote #1

Hello,

I was wondering how to return "nothing" instead of 0 in this case for my vote plugin.

Code:
isVoteEnding ? countdown-- : 0
Like it's literally displaying "0" on my menu.

Code:
formatex(menuDisplay, sizeof(menuDisplay)-1, "%s^n^n%s\r%i%s", voteStatus, isVoteEnding ? "\dtime remaining: " : "", isVoteEnding ? countdown-- : 0, isVoteOver ? "\dThe vote is over." : "");

Last edited by wAyz; 07-24-2018 at 12:30.
wAyz is offline
 



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 12:18.


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