Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,377
» Latest member: MaryamGleichner
» Forum threads: 2,397
» Forum posts: 12,321

Full Statistics

Online Users
There are currently 274 online users.
» 0 Member(s) | 272 Guest(s)
Bing, Google

Latest Threads
Is there a way to play mu...
Forum: General Discussions
Last Post: MaryamGleichner
Yesterday, 12:56 PM
» Replies: 0
» Views: 22
Vice City RP — A New Visi...
Forum: Advertisements
Last Post: unhappytony
Yesterday, 01:03 AM
» Replies: 0
» Views: 25
Hiring SA-MP Scripter(s) ...
Forum: Pawn Scripting
Last Post: unhappytony
Yesterday, 01:02 AM
» Replies: 0
» Views: 16
Developer for Hire – Syst...
Forum: Pawn Scripting
Last Post: unhappytony
Yesterday, 12:57 AM
» Replies: 1
» Views: 210
How many people are activ...
Forum: General Discussions
Last Post: Hulio
2025-08-13, 04:15 AM
» Replies: 1
» Views: 72
How can I turn on dark mo...
Forum: Chat
Last Post: JeffreyLSimmon
2025-08-13, 03:27 AM
» Replies: 0
» Views: 33
SA-MP Developer
Forum: Chat
Last Post: srlohuan
2025-08-11, 04:30 PM
» Replies: 0
» Views: 55
CODE5 • Los Santos Cops a...
Forum: Advertisements
Last Post: Zeus2318
2025-08-09, 10:21 AM
» Replies: 0
» Views: 49
Capital Legacy Roleplay e...
Forum: Advertisements
Last Post: cyraxpro97
2025-08-07, 10:22 PM
» Replies: 0
» Views: 45
GTA SA DE is the future
Forum: General Discussions
Last Post: pandrhola
2025-08-07, 04:24 AM
» Replies: 6
» Views: 7,340

 
Rainbow Humanize - A human-friendly Pawn library
Posted by: Codeah - 2019-04-11, 04:08 PM - Forum: Libraries - Replies (10)

Humanize

Description



Humanize is a library that makes stuff computers can read easily, more readable for humans.



Features



Thousands Seperators



Code:
0 -> 0

100 -> 100

1000 -> 1,000

1000000 -> 1,000,000

-100000 -> -100,000

Code:
HumanizeThousand(integer, dest[], maxLength = sizeof dest, delimiter[] = ",")



Colors

Code:
0xA86420FF -> "Chocolate Brown"

0x42F44EFF -> "Lime Green"

0x137A8EFF -> "Teal"

Code:
HumanizeColor(color, dest[], maxLength = sizeof dest)



Numbers to words

Code:
1000 -> "one thousand"

1234 -> "one thousand two hundred thirty-four"

-1234 -> "negative one thousand two hundred thirty-four"

Code:
HumanizeNumber(number, dest[], maxLength = sizeof dest)



Ordinals

Code:
0 -> 0th

1 -> 1st

2 -> 2nd

3 -> 3rd

4 -> 4th

etc...

Code:
HumanizeOrdinal(number, dest[], maxLength = sizeof dest)



Install / Download



You can find all releases here.



Alternatively, you can simply install Humanize to your project using SampCTL.

Code:
sampctl package install thecodeah/pawn-humanize

Include in your code and begin using the library:

Code:
#include <humanize>



Issues / Suggestions



Please leave suggestions and report issues on Github.


Lightbulb Elon Musk / Tesla / SpaceX / Boring / Neuralink Thread
Posted by: Southclaws - 2019-04-11, 12:45 PM - Forum: Tech - Replies (13)

Yes, this deserves its own thread.



ITT: News, scandals, announcements, tech and all things Elon!


  [Burgershot Exclusive] [Forum Game] Rate the person above you
Posted by: cuddlypanda - 2019-04-07, 05:17 PM - Forum: Chat - Replies (59)

let's get started shillers ??


  42 users celebration thread
Posted by: cuddlypanda - 2019-04-07, 05:14 PM - Forum: Chat - Replies (26)

congratulations


  PAWN Fiddle - Share & run PAWN code online
Posted by: peek - 2019-03-31, 09:35 PM - Forum: Releases - Replies (14)

PAWN Fiddle

Share & run PAWN code





PAWN Fiddle is a playground platform for the PAWN scripting language. Create, execute, fork and share code snippets across the SA-MP community.



What is this for?

If you need help with your code, you can use this fiddle service?instead of posting big code blocks in the forum or discord?which?isn't really testable. With PAWN Fiddle you can send a complete example of your problem, which makes it easier for the other person to fix your code / help you with?the integrated compiler and plugin / include?support. This could also be used to demonstrate the use of your plugin / include (provided it's a sampctl compatible PAWN-package), or snippet hosting.



How do I use this?

  1. Navigate to https://fiddle.sa-mp.dev

  2. Select the dependencies your fiddle needs.

    [Image: KyfSbp1.png]

  3. Write / Paste your code.

    [Image: bVGk19t.png]

  4. Check if your code compiles, by clicking the Run button.

    [Image: IwHFRNg.png]

  5. Share your fiddle with the world.

    [Image: iJrwzz8.png]


Liveserver (Beta)

https://fiddle.sa-mp.dev



GitHub (Source Code)

https://github.com/samp-dev/fiddle


  only open if you're ready to be surprised
Posted by: cuddlypanda - 2019-03-22, 02:46 PM - Forum: Chat - Replies (10)

check attachment


  hello :)
Posted by: ari - 2019-03-06, 09:49 AM - Forum: Chat - Replies (22)

i am ari i am southclaws best friend? :D


  hi
Posted by: cuddlypanda - 2019-02-23, 04:13 PM - Forum: Chat - Replies (6)

Hello, I'm cuddlypanda and I give free cuddles. I also like bamboo and burgers. I draw, write and compose music?

thank you