%x
|
Re: %x
And according to this, it should. Am I just running and old Amxmodx? Well ... thanks anyway.
|
Re: %x
Quote:
Quote:
btw.: your first link is a sourcemod link ;) (http://wiki.amxmodx.org/Format_Class...d_Scripting%29) |
Re: %x
Yes, I've noticed it's from SourceMod :) Couldn't wait ... had to code it :/ Thnx.
|
Re: %x
May i ask you for what reason you need to print a number in hexadecimal radix?
Just wonder in what case this will be used. greetz regalis |
Re: %x
Sure! ... I'm sending HTTP GET / POST requests to web servers ... in case, I'm sending something like player names, these have to be URL-safe-encoded. And to do that, I need hex.
Well, this is what I have so far - I've got a bug inside, don't know where: PHP Code:
|
Re: %x
Seems to work fine ... but there could be bugs inside.
Just in the case someone would need it: PHP Code:
|
Re: %x
hmm, i think i have to get more into hex ;)
don't realy understand that, luckily i don't need it *puhh* thanks for sharing this :) greetz regalis |
Re: %x
This has already been done I believe:
http://forums.alliedmods.net/showthr...highlight=HTTP |
Re: %x
Woa, thanks Zenith77 :) ... but that's decode, function above is encoder. But I was in need of this as well. Cheers.
|
| All times are GMT -4. The time now is 06:43. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.