Raised This Month: $ Target: $400
 0% 

Display zero while number is single unit


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Sn!ff3r
Veteran Member
Join Date: Aug 2007
Location: Poland
Old 06-14-2009 , 08:35   Display zero while number is single unit
Reply With Quote #1

PHP Code:
    new 5
    client_print
(0,print_chat,"mynumber: %d",a
This will print
Code:
mynumber: 5
I want zero before a number, ex.
Code:
mynumber: 05
How?

Okay, solved.
__________________
Join US - custom Zombie Server - Custom Addons:




Last edited by Sn!ff3r; 06-14-2009 at 08:40.
Sn!ff3r is offline
Send a message via Skype™ to Sn!ff3r
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 06-14-2009 , 09:17   Re: Display zero while number is single unit
Reply With Quote #2

%02d
__________________
Arkshine 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 14:01.


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