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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,487
» Latest member: wackyfliponline
» Forum threads: 2,417
» Forum posts: 12,364

Full Statistics

Online Users
There are currently 195 online users.
» 0 Member(s) | 192 Guest(s)
Bing, Yandex, Google

Latest Threads
U4gm Season 10 Diablo IV ...
Forum: Chat
Last Post: wackyfliponline
8 hours ago
» Replies: 1
» Views: 39
U4gm Best Skill Setups a...
Forum: Programming
Last Post: dingdangyc
Yesterday, 07:59 AM
» Replies: 0
» Views: 27
U4gm Diablo IV S10 Infern...
Forum: Life
Last Post: dingdangyc
Yesterday, 07:57 AM
» Replies: 0
» Views: 33
etqass
Forum: Videos and Screenshots
Last Post: hafsoe
Yesterday, 05:35 AM
» Replies: 0
» Views: 31
twatga
Forum: Support
Last Post: hafsoe
Yesterday, 05:32 AM
» Replies: 0
» Views: 36
warawrt
Forum: General Discussions
Last Post: hafsoe
Yesterday, 05:30 AM
» Replies: 0
» Views: 41
jrtrtt
Forum: Questions and Suggestions
Last Post: hafsoe
Yesterday, 05:28 AM
» Replies: 0
» Views: 34
awwawa
Forum: Releases
Last Post: hafsoe
Yesterday, 05:26 AM
» Replies: 0
» Views: 38
[Tutorial] Registrando o ...
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2025-09-09, 08:36 PM
» Replies: 0
» Views: 79
San Andreas Police Pursui...
Forum: Advertisements
Last Post: BriBri
2025-09-08, 10:09 PM
» Replies: 1
» Views: 244

 
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