Raised This Month: $ Target: $400
 0% 

2 options in client_print


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
reinert
Veteran Member
Join Date: Feb 2007
Old 01-02-2011 , 17:23   2 options in client_print
Reply With Quote #1

Hey, how could I make that there will be 2 options available, like:

if 3 - iRound = 1, then it says round, otherwise rounds...

here is my code:

PHP Code:
client_print(idprint_chat"You can use this only after %d round%s"iRound"s" " "
EDIT: doh :S I searched and found answer.
Quote:
3 - iRound > 1 ? "s":""
ALSO one more question, to not create new topic I will write it here,

What is the difference between %i and %d, and which one should I use if I'm trying to print player money etc.

Last edited by reinert; 01-02-2011 at 17:32.
reinert 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 01:59.


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