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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,813
» Latest member: djfromsweden69
» Forum threads: 3,256
» Forum posts: 13,343

Full Statistics

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

Latest Threads
AU$ Shein Coupon Code Aus...
Forum: Life
Last Post: AlexMorgan27
18 minutes ago
» Replies: 0
» Views: 6
C$ Shein Coupon Code Cana...
Forum: Tech
Last Post: AlexMorgan27
22 minutes ago
» Replies: 0
» Views: 4
£ Shein Coupon Code UK [{...
Forum: Chat
Last Post: AlexMorgan27
25 minutes ago
» Replies: 0
» Views: 4
Pakistan Shein Discount ...
Forum: Art
Last Post: mom3332026
42 minutes ago
» Replies: 0
» Views: 5
Bahrain Shein Discount [...
Forum: Art
Last Post: mom3332026
43 minutes ago
» Replies: 0
» Views: 3
Oman Shein Discount [[""...
Forum: Art
Last Post: mom3332026
1 hour ago
» Replies: 0
» Views: 5
Belgium Shein Discount [...
Forum: Art
Last Post: mom3332026
1 hour ago
» Replies: 0
» Views: 5
Chile Shein Discount [["...
Forum: Art
Last Post: mom3332026
1 hour ago
» Replies: 0
» Views: 5
Denmark Shein Discount [...
Forum: Art
Last Post: mom3332026
1 hour ago
» Replies: 0
» Views: 6
Finland Shein Discount [...
Forum: Art
Last Post: mom3332026
1 hour ago
» Replies: 0
» Views: 6

 
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