Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 7,574
» Latest member: labelsuae
» Forum threads: 2,326
» Forum posts: 12,249
Full Statistics
|
Online Users |
There are currently 279 online users. » 0 Member(s) | 277 Guest(s) Bing, Google
|
|
|
The 2 Day CnR Project! |
Posted by: Codeah - 2019-04-12, 01:33 PM - Forum: General Discussions
- Replies (14)
|
 |
This weekend (April 13th - April 14th) I will be live streaming myself for 2 days (Only during day-time) developing a Cops and Robbers server from scratch, then releasing / publishing that server once the stream is over.
You can join the projects Discord right here : https://discord.gg/Pc9shV6 !
On this Discord guild I will announce when I'm going live and post updates on the development.
I will be streaming on https://twitch.tv/codeah
|
|
|
Coding Pawn: From Useless to Y_Less. |
Posted by: Y_Less - 2019-04-12, 12:45 PM - Forum: Tutorials
- Replies (18)
|
 |
I was comissioned to write a detailed curriculum for a complete beginner to learn pawn with. This is a combination of links to existing tutorials and wholly new information. It is not a tutorial in itself, but a collection of information to read and learn. Depending what you want to learn, you might not even need everything, thus various sections try to list their dependencies so you don't start reading about something without first having read the parts it relies on.
Unfortunately the forums don't support markdown (and forumfmt doesn't QUITE support the BB code used here), so it is hosted on github:
https://github.com/Y-Less/pawn-curriculum
|
|
|
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.
|
|
|
|