jvson03/samp-narcotic
A SA-MP script introducing a narcotics system for roleplay servers. Features drug creation, distribution, and effects for immersive gameplay scenarios.
В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.
Установка через sampctl
sampctl package install jvson03/samp-narcotic
Выполните в папке проекта. sampctl скачает пакет и его зависимости.
Зависит от 13 пакетов
- pawn-lang/samp-stdlib★ 53
- Y-Less/code-parse.inc★ 26
- pawn-lang/YSI-Includes★ 226
- pawn-lang/sa-mp-fixes★ 149
- maddinat0r/sscanfнет в этом каталоге
- pblueg/sa-mp-mysqlнет в этом каталоге
- Sreyas-Sreelal/samp-bcrypt★ 83
- zeex/samp-plugin-crashdetectнет в этом каталоге
- samp-incognito/samp-streamer-plugin★ 247
- Se8870/samp-command-guess★ 18
- NexiusTailer/MapFix★ 35
- jvson03/samp-timestamp★ 1
- katursis/Pawn.Regex★ 46
README.md
Narcotic Roleplay : SAMP
A gamemode built from scratch for NCRP. Developed in pawn language.
Features
- Users module
- Ban module
- Admin module
- Vehicle module
- Chat module
Authors
Reference
Modules
The file naming inside modules should be as the following
[prefix]_[content].pwn
Messages
SendErrorMessage();
Used to send messages on errors.
| Parameter | Type | Description |
|---|---|---|
playerid | int | Required. The player id |
message | string | Required. The error message |
SendUsageMessage();
Used to send messages on command usage.
| Parameter | Type | Description |
|---|---|---|
playerid | int | Required. The player id |
message | string | Required. The usage message |
SendInfoMessage();
Used to send messages on information.
| Parameter | Type | Description |
|---|---|---|
playerid | int | Required. The player id |
message | string | Required. The info message |
SendServerMessage();
Used to send server message.
| Parameter | Type | Description |
|---|---|---|
playerid | int | Required. The player id |
message | string | Required. The server message |
Color Reference (y_colors)
| Color | Hex |
|---|---|
| Server Messages | X11_INDIAN_RED |
| Usage Messages | X11_LIGHT_YELLOW |
| Error Messages | X11_VIOLET_RED_1 |
| Info Messages | Y_LIGHT_SKY_BLUE |
Deployment
To deploy this project make sure you have sampctl and xampp installed.
Grab the sql files from the modules and import them to your database.
Open the mysql.ini file and enter your database details.
Ensuring the dependencies!
sampctl ensure
Building the gamemode!
sampctl build
Running the gamemode!
sampctl run
Support
For support, email [email protected] or DM me in Discord (JasonTheMan#7125).
Contributing
Contributions are always welcome!
Contact me in Discord (JasonTheMan#7125) for ways to get started.
Please adhere to this project's code of conduct.
Lessons
Was a little annoying at start as I had left the community of SAMP a long time ago, but I eventually got the hang of it.
Getting used to mysql queries and how sql syntax works.
Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью