Welcome, Guest |
You have to register before you can post on our site.
|
Online Users |
There are currently 197 online users. » 1 Member(s) | 194 Guest(s) Bing, Google, shiftdapentas
|
|
|
GtaMAP |
Posted by: Romzes - 2019-04-14, 11:41 PM - Forum: Releases
- Replies (8)
|
 |
What it is?
GTAMAP - With this site you can find map bug fixes, objects that are not visible in the map editor, and just a beautiful mapping.
How to visit the site?
Simply follow this link - link
Who made this site?
Site image
|
|
|
samp-crypto - bcrypt, scrypt & argon2 hashing |
Posted by: Bork - 2019-04-14, 11:40 PM - Forum: Plugins
- Replies (7)
|
 |
samp crypto
A SAMP cryptography plugin written in Rust. This plugin was written as a means to make it really simple for anyone to transition from Whirlpool, SHA256_PassHash or any other hashing method similar to these without major script changes, like the other bcrypt plugins do. This is my first plugin written in Rust, I tried cleaning up all my code and I will continue to do so however you may still see some older code. If you wish to clean it up please fork the repo, make changes and create a PR! I will happily review and accept it.
![[Image: samp-crypto.svg]](https://img.shields.io/github/release/infin1tyy/samp-crypto.svg)
Encryption Methods - Bcrypt
- Scrypt
- Argon2i (Argon2d and 2id will be brought out soon if demand is there)
Installation- Head to the release page and download the latest version of samp crypto (https://github.com/infin1tyy/samp-crypto/releases).
- Place the .inc into your pawno/include folder.
- Place the .dll or .so in your plugins folder (if one doesn't exist, create a new one).
- Add?samp_crypto?to your server.cfg (if on linux, add?libsamp_crypto.so?to your server.cfg instead.
- Enjoy!
How to Use
Click me to go to the wiki!
Downloads
Binaries
Source Code
Credits
The credits can be found?here, in the GitHub README.md
Notes
I was debating whether or not I should release this for a while. After what has been going on in SAMP, with essentially the community being divided between the players in the Discord and the SAMP forum, I wasn't sure who to support. A lot of the people from this community have been quite spiteful towards me, however, I'm putting that in the past and I suppose my support is with you lot.
samp crypto will be a burgershot.gg exclusive.
Special thanks to iAmir & Dakyskye from the bottom of my heart.
For anyone who didn't believe in me, fuck you I suppose. :joy: Maybe this'll prove I'm worth something. And I'd like to apologize for never delivering on that Postgres plugin, but do know that I still have it in mind and I'll make it happen whenever I have the experience to do so.
|
|
|
Post your code snippets here |
Posted by: DTV - 2019-04-14, 11:04 PM - Forum: Pawn Scripting
- Replies (19)
|
 |
I remember seeing a thread like this on SA-MP forums so it'd be nice to share with each other little tricks to making our lives easier with pawn, I'll start:
Actually don't know what this is formally called, but you can use it to skip parts of code when needed (good in a situation where the ending part of code is always the same but you don't need to copy/paste that code in every if/switch statement)
Code: someFunc(params) {
? ? if(params) {
? ? ? ? SendClientMessage(playerid,-1,"Not skipped!");
? ? ? ? return 1;
? ? }
? ? else { goto skipBlock; } //this is how you'd call for the code to skip to `skipBlock`
? ? skipBlock: //this is how you'd create it
? ? SendClientMessage(playerid,-1,"Skipped!");
? ? return 1;
}
|
|
|
[SUGGESTION] Translation of the forum |
Posted by: KMarkireN - 2019-04-14, 10:28 PM - Forum: Chat
- Replies (2)
|
 |
Greetings everyone,
I only suggest that when this community had a large number of members it could be an option to configurate the language of the website, for example to be more confortable to spanish users, only that, I hope this project will have a greatest success.
PD: If my english isn't the best sorry, I'm a chilean guy who had interested in this new community xd.
|
|
|
Rounding float to make it divisible by specified value. |
Posted by: Xray - 2019-04-14, 09:12 PM - Forum: Pawn Scripting
- Replies (7)
|
 |
Hi, I am developing a building system based on?a map grid. I?figured to use this grid (only xy axis based) I would only need to use a simple algorithm where I devide the current player position by the grid size.
Lets say I want to get the nearest grid in range of?a player, I need to round the player's position till it's devisible by the grid size to get the X Y position from that grid.
Could anyone explain me how to create a function that rounds?the player position to the nearest value where it is devisible by a specified value?
|
|
|
|