Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 252 online users. » 0 Member(s) | 248 Guest(s) Google, Facebook, Bing, Applebot
|
Latest Threads |
[MAP] Los Santos Gun Rang...
Forum: Videos and Screenshots
Last Post: Emirto
Yesterday, 09:38 PM
» Replies: 2
» Views: 639
|
looking for someone who c...
Forum: Chat
Last Post: bishop1
Yesterday, 05:55 PM
» Replies: 0
» Views: 21
|
Can't join to my server.
Forum: Pawn Scripting
Last Post: gpayment99
Yesterday, 12:26 PM
» Replies: 3
» Views: 428
|
JoyRP - The beautiful RP ...
Forum: Advertisements
Last Post: Xehos
Yesterday, 12:23 PM
» Replies: 0
» Views: 11
|
Server Crashing
Forum: Support
Last Post: quitela69
2024-09-14, 11:41 PM
» Replies: 0
» Views: 27
|
advapi32.dll
Forum: Support
Last Post: Zaidyy
2024-09-14, 12:09 PM
» Replies: 0
» Views: 18
|
hello,
Forum: Tech
Last Post: llogo620
2024-09-10, 09:21 AM
» Replies: 0
» Views: 28
|
Forgot my password for se...
Forum: Support
Last Post: jeanpierrecarpio63
2024-09-10, 02:00 AM
» Replies: 0
» Views: 27
|
SA-MP dedicated server Pa...
Forum: Questions and Suggestions
Last Post: joaolucasdesouza0
2024-09-08, 07:55 PM
» Replies: 0
» Views: 27
|
Samp R revision related q...
Forum: General Discussions
Last Post: cordov
2024-09-04, 02:29 PM
» Replies: 0
» Views: 70
|
|
|
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:
Issues / Suggestions
Please leave suggestions and report issues on Github.
|
|
|
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?
- Navigate to https://fiddle.sa-mp.dev
- Select the dependencies your fiddle needs.
- Write / Paste your code.
- Check if your code compiles, by clicking the Run button.
- Share your fiddle with the world.
Liveserver (Beta)
https://fiddle.sa-mp.dev
GitHub (Source Code)
https://github.com/samp-dev/fiddle
|
|
|
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
|
|
|
|