13.09.2015, 18:35
(
Последний раз редактировалось MartinSwag; 27.10.2015 в 18:15.
)
Hi,
Today I would like to show you all a script that I've been working on for a little while. It's based on the Rivershell script that comes with the default SA-MP package.
There are a couple of things I would like to point out before I continue. This is my first script and the main goal was to get into PAWN and use mySQL. I tried to keep it clean and efficient and I think that I did a good job. I used the mainstream plugins such as zcmd, streamer and mySQL. I didn't want to add or change any major things, because I didn't want to change the concept of Rivershell.
It's a great script to build on, you could add new maps or come up with new features.
List of features:
- mySQL registration & login
- mySQL account saving
- SHA256_PassHash() (It's not really a feature, but it's nice to know that your passwords won't be saved as plain text )
- Dynamic shops
- Dynamic caps, you can adjust the amount of caps that are required to win the round
- mySQL logging system (kicks, bans, new shop, unban etc.)
- Fancy textdraws to show the caps and K/D
Media:
https://www.youtube.com/watch?v=1cBHSc4dtck
Database:
Download the database file, save it and import it in phpmyadmin.
Links:
Latest script: http://pastebin.com/YcMBTcZN
Latest database: http://pastebin.com/mEVjE5aa
Today I would like to show you all a script that I've been working on for a little while. It's based on the Rivershell script that comes with the default SA-MP package.
There are a couple of things I would like to point out before I continue. This is my first script and the main goal was to get into PAWN and use mySQL. I tried to keep it clean and efficient and I think that I did a good job. I used the mainstream plugins such as zcmd, streamer and mySQL. I didn't want to add or change any major things, because I didn't want to change the concept of Rivershell.
It's a great script to build on, you could add new maps or come up with new features.
List of features:
- mySQL registration & login
- mySQL account saving
- SHA256_PassHash() (It's not really a feature, but it's nice to know that your passwords won't be saved as plain text )
- Dynamic shops
- Dynamic caps, you can adjust the amount of caps that are required to win the round
- mySQL logging system (kicks, bans, new shop, unban etc.)
- Fancy textdraws to show the caps and K/D
Media:
https://www.youtube.com/watch?v=1cBHSc4dtck
Database:
Download the database file, save it and import it in phpmyadmin.
Links:
Latest script: http://pastebin.com/YcMBTcZN
Latest database: http://pastebin.com/mEVjE5aa