Quote:
Originally Posted by Naruto_Emilio
pawn Код:
Description: StrToHex function allow you to easily convert a string to its hex value. Syntax: hexstring = StrToHex(String) Example: <% Response.Write StrToHex("Nice code") '--- returns: 4E69636520636F6465 %> ASP Source Code: <% Function StrToHex(ByRef Str) Dim Length Dim Max Dim strHex Max = Len(Str) For Length = 1 To Max strHex = strHex & Right("0" & Hex(Asc(Mid(Str, Length, 1))), 2) Next StrToHex = strHex End function %>
Your talking about this?
|
Mostly for colors actually.. I found that on ****** too but have absolute no idea how to convert it to pawn.
But nevermind, got another way. Sorry for creating a uselesss topic.
(I needed it for 0Sprites Editor which will be released tomorrow)