Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 302 online users. » 0 Member(s) | 300 Guest(s) Google, Bing
|
Latest Threads |
Bright White Massage Ball...
Forum: Chat
Last Post: brightwhitedrop
4 hours ago
» Replies: 0
» Views: 7
|
PAEditor - an editor for ...
Forum: Filterscripts
Last Post: Emirto
2024-10-16, 09:33 PM
» Replies: 5
» Views: 1,394
|
Indian city role play nee...
Forum: Advertisements
Last Post: Yuvraj gamer
2024-10-15, 04:30 AM
» Replies: 0
» Views: 23
|
SteelCityRP [SC-RP]
Forum: Advertisements
Last Post: pcg362070
2024-10-14, 10:27 PM
» Replies: 0
» Views: 15
|
[0.3-DL][v-santos.net] Vi...
Forum: Serwery
Last Post: kakak
2024-10-14, 09:18 PM
» Replies: 0
» Views: 26
|
Join Us Again on Our Revi...
Forum: Advertisements
Last Post: supersNL
2024-10-14, 12:50 PM
» Replies: 0
» Views: 34
|
Problem with Open MP Laun...
Forum: Questions and Suggestions
Last Post: Kennzor12
2024-10-13, 10:48 AM
» Replies: 0
» Views: 33
|
0.3.7 version change to o...
Forum: Programming
Last Post: lauti_lxb
2024-10-13, 06:30 AM
» Replies: 2
» Views: 136
|
LS City Hall
Forum: Maps
Last Post: Santino SL
2024-10-11, 06:21 AM
» Replies: 0
» Views: 90
|
A little bit of my design...
Forum: Art
Last Post: Santino SL
2024-10-11, 05:48 AM
» Replies: 10
» Views: 12,602
|
|
|
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.
|
|
|
|