From 3f6484b74e9d2ecbe2732883aad7ca00a814510b Mon Sep 17 00:00:00 2001 From: Marevin Date: Sun, 18 Jun 2023 21:05:44 +0100 Subject: [PATCH 1/3] Added README.md --- README.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..f7e578f --- /dev/null +++ b/README.md @@ -0,0 +1,61 @@ +# samp-plugin-xml + +![Static Badge](https://img.shields.io/badge/sampctl-samp--plugin--xml-blue) + +XML plugin for SA-MP server +Provides API for parsing XML files +[Developed by Zeex](https://github.com/Zeex/samp-plugin-xml/) + +Forked repository for compatibility with sampctl + +``` +~~http://forum.sa-mp.com/showthread.php?t=150755~~ +https://sampforum.blast.hk/showthread.php?tid=150755 +``` +(Backup of an outdated thread with outdated code. Archive purposes only) + +## Installation + +Simply install to your project: + +```bash +sampctl package install Marevin/samp-plugin-xml +``` + +Include in your code and begin using the library: + +```pawn +#include +``` + +## Usage + + +Native functions are documented in the ```xml.inc``` file. + +Note: +The following functions are hardcoded to look for files in the ```scriptfiles/``` path. + +``` +XML_CreateDocument +XML_LoadDocument +XML_SetValue +``` + +## Testing + + + +To test, simply run the package: + +```bash +sampctl package run +``` From 3f47b3817c47432d2db530fdf7a8e6ac00efe50f Mon Sep 17 00:00:00 2001 From: Marevin Date: Sun, 18 Jun 2023 21:08:38 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README.md b/README.md index f7e578f..15466f0 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,8 @@ Provides API for parsing XML files Forked repository for compatibility with sampctl -``` ~~http://forum.sa-mp.com/showthread.php?t=150755~~ -https://sampforum.blast.hk/showthread.php?tid=150755 -``` +https://sampforum.blast.hk/showthread.php?tid=150755 (Backup of an outdated thread with outdated code. Archive purposes only) ## Installation From 3fcf0d5227893eb693c6a2c1c292808c137e29a2 Mon Sep 17 00:00:00 2001 From: Marevin Date: Mon, 19 Jun 2023 01:59:41 +0100 Subject: [PATCH 3/3] Changed badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 15466f0..72034eb 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # samp-plugin-xml -![Static Badge](https://img.shields.io/badge/sampctl-samp--plugin--xml-blue) +[![sampctl](https://img.shields.io/badge/sampctl-samp--plugin--xml-2f2f2f.svg?style=for-the-badge)](https://github.com/marevin/samp-plugin-xml) XML plugin for SA-MP server Provides API for parsing XML files