Raised This Month: $32 Target: $400
 8% 

percent symbol


Post New Thread Reply   
 
Thread Tools Display Modes
orel56000
Member
Join Date: Apr 2015
Old 06-26-2018 , 08:23   Re: percent symbol
Reply With Quote #11

Quote:
Originally Posted by fysiks View Post
Try writing str2 to a file and then attach the file to your next post (don't edit or change it in any way before attaching it).
I was about to do that, and then I found something that I think is the reason for this bug..

If I do - "%i%%^1" - not working
but if I put a space between the ^1, %i with the %% it is working: "(%i %% ^1)" - "(7 % )"
and if I remove a space even from one side, it is not working again.. it is not problem with the string...

what should I do? I saw other servers just do a space, there isen't other way to solve that?
orel56000 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 06-26-2018 , 21:15   Re: percent symbol
Reply With Quote #12

Did this not work?

Quote:
Originally Posted by E1_531G View Post
Try this method:
Code:
formatex( string, len, "%s+%i%c^1", text, int, '%' )
__________________
fysiks is online now
CrAzY MaN
Senior Member
Join Date: Mar 2017
Location: India
Old 06-27-2018 , 01:42   Re: percent symbol
Reply With Quote #13

Checkout statsx.sma, you will know how to do.
__________________
CrAzY MaN is offline
orel56000
Member
Join Date: Apr 2015
Old 06-28-2018 , 06:03   Re: percent symbol
Reply With Quote #14

Quote:
Originally Posted by fysiks View Post
Did this not work?
yes, not working
orel56000 is offline
orel56000
Member
Join Date: Apr 2015
Old 06-28-2018 , 07:31   Re: percent symbol
Reply With Quote #15

Quote:
Originally Posted by CrAzY MaN View Post
Checkout statsx.sma, you will know how to do.
they have put a space after the %% and the rest of the string, that working for me too, but I don't want it like that, I want it like this "^4%i%%^1" without a space
orel56000 is offline
se7en
Junior Member
Join Date: Feb 2014
Old 10-18-2019 , 16:54   Re: percent symbol
Reply With Quote #16

%%%%

Code:
new perfect = 100;

client_print(0, print_chat, "%i %%%% ", perfect);
= 100 %

Last edited by se7en; 10-18-2019 at 16:59.
se7en 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 02:24.


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