Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 5,672
» Latest member: svtowinga
» Forum threads: 2,115
» Forum posts: 11,890
Full Statistics
|
Online Users |
There are currently 299 online users. » 0 Member(s) | 296 Guest(s) Bing, Yandex, Google
|
Latest Threads |
SV Towing: Reliable Vehic...
Forum: Chat
Last Post: svtowinga
11 hours ago
» Replies: 0
» Views: 4
|
Looking for an English De...
Forum: Chat
Last Post: znpo
Yesterday, 05:07 PM
» Replies: 0
» Views: 8
|
Exploring Children's Emot...
Forum: General Discussions
Last Post: tinytrekkerstm
Yesterday, 04:07 PM
» Replies: 0
» Views: 4
|
Ajuda com um relatório so...
Forum: Portuguese/Portugu?s
Last Post: James13
Yesterday, 06:32 AM
» Replies: 8
» Views: 3,478
|
undefined symbol
Forum: Portuguese/Portugu?s
Last Post: James13
Yesterday, 06:17 AM
» Replies: 1
» Views: 197
|
Private Label Frozen Food...
Forum: General Discussions
Last Post: arenapreparedfoodsllc
2024-04-17, 07:31 PM
» Replies: 0
» Views: 7
|
Decadent Delights: From B...
Forum: General Discussions
Last Post: craftygirlcookies.com
2024-04-17, 06:43 PM
» Replies: 0
» Views: 1
|
Advertising Strategies fo...
Forum: General Discussions
Last Post: oregoncitys.com
2024-04-17, 06:03 PM
» Replies: 0
» Views: 4
|
Strategies for Commercial...
Forum: General Discussions
Last Post: grandprotectorinc
2024-04-17, 05:17 PM
» Replies: 0
» Views: 3
|
I think open.mp forums sh...
Forum: Chat
Last Post: James13
2024-04-17, 07:20 AM
» Replies: 10
» Views: 4,910
|
|
|
old trailer |
Posted by: Atom - 2019-04-17, 03:21 AM - Forum: Videos and Screenshots
- No Replies
|
|
Hi all.
This is the trailer I made for one of my old projects, I had posted it in the sa-mp forum but I was erased and banned because of the youtube rule.
And I wanted to put it here because in the past it did not last long until they deleted the post xD
[Video: https://www.youtube.com/watch?v=VKkTnhBWTf4]
[Video: https://youtu.be/eyxwyUoZPOA]
The server was about a world where there was a world crisis where only the most money was kept, the media were extorted to show a false reality where everything was beautiful.
That's the message I wanted to convey in the second anchored video.
|
|
|
pawn-plus-mysql: PawnPlus extensions and helpers for the MySQL plugin |
Posted by: Graber - 2019-04-17, 01:38 AM - Forum: Libraries
- Replies (8)
|
|
pawn-plus-mysql
PawnPlus extensions and helpers for the MySQL plugin
Installation
Simply install to your project:
Code: sampctl package install AGraber/pawn-plus-mysql
Include in your code and begin using the library:
It is recommended that you set a PawnPlus version explicitely on your pawn.json (preferibly the latest) to avoid always downloading the latest one.
If you don?t use sampctl, just download the pp-mysql.inc include and drop it to your includes/ folder, and then download the PawnPlus plugin and include from here.
While you?re on it and if you don?t use PawnPlus yet, you should check it out!
Usage
All existing mysql_[t/p]query now have a variant that accepts PawnPlus strings, ending with _s (for example, mysql_tquery_s).
In addition, a new member arrives into the family of these natives: mysql_aquery[_s], which returns a task that will be set as completed when the query completes successfully, or fault when there?s an error during its execution.
Note that mysql_aquery[_s] will piggyback on mysql_tquery by default. You can override this and use mysql_tquery by setting the parallel parameter at the end to true, or explicitly change this default value by defining MYSQL_ASYNC_DEFAULT_PARALLEL to you desired value.
Examples
Using PawnPlus strings on natives
PHP Code: public OnPlayerTookAllCandies(playerid)
{
? ?mysql_tquery_s(DatabaseHandle, @("UPDATE player SET took_candies = UNIX_TIMESTAMP() WHERE id = ") % GetPlayerDBID(playerid));
}
Task-based asynchronous queries:
PHP Code: LoadPlayerData(playerid)
{
? ?await mysql_aquery_s(DatabaseHandle, @("SELECT * FROM player WHERE id = ") % GetPlayerDBID(playerid), .parallel = false);
? ?// Cache functions will be available after this
? ?cache_get_value_name_float(0, "health", PlayerHealth[playerid]);
? ?// ...
}
|
|
|
Update System [MySQL] |
Posted by: solstice - 2019-04-16, 11:34 PM - Forum: Filterscripts
- No Replies
|
|
Hey there, I decided to make my second release here and this time a filterscript (again, this is reuploaded from the SA:MP forums).
This is a filterscript I made for server owners / developers to simply add updates in-game, without having to make edits on the script multiple times.
To use it, you must clone the repository:
Commands:
-?/addupdate
-?/removeupdate
-?/updates
Credits:
Y_Less - sscanf
BlueG / maddinat0r - MySQL
Emmet_ -?easyDialog
Zeex - zcmd
Here's a list of screenshots if you want to see how it looks:
https://imgur.com/a/fdIbGIs
|
|
|
Image2Textdraw - Image to textdraw converter! -FINAL VERSION |
Posted by: Rafael_Rosse - 2019-04-16, 11:05 PM - Forum: Filterscripts
- Replies (9)
|
|
What is it ?
With this tool you can convert images to textdraws!
It is an .exe application that converts every pixel of a image
to a textdraw and it generates an errorless filterscript!
Changelog:
Code: BETA:
1.1:
*Checkbox added to enable/disable the background removal
1.2:
*Code optimised at the checkbox.
*The threads are now "sleeping" longer, THIS MEANS THAT THE APPLICATION WILL RENDER SLOWER, unfortunally i had to do this because i noticed it the loop was going too fast that it will randomly skip pixels :S
1.3:
*Remove transparency checkbox will be disabled when rendering
*The previewbox has been removed and the location-select part will now show your image instead of a dot
*Improved location selector (better accuracy)
*System is now using a different save method
*The system will now compare every 2-4 pixels with echothers color, and combines them if they are identical
1.3b:
*Icon has been removed to fix the crashes at Windows XP
1.4:
*New method of detecting transparency (A LOT more accurate)
*Menubar added
*Checkbox of the transparency removal has now been moved to the menubar
*A possible crash has been fixed after you closed the app
1.5:*New color detection to reduce textdraw sizes!
*Quality option has been added (adding more delay to give the ram more time to store the pixels avoiding random transparant pixels).
RC2:
*New image for locating positions (on request)
Final version:
*Standard transparency value adjusted
*Help button added (including information about how to avoid "transparant" pixels).
*You can now turn multithreading off (for slower/single core processors)
*Load/Render buttons added in the menu
*Some major speed improvements have been added
*You can now change the background image of the previewbox in order to select the location with your own screenshots (On request of asdfgh98).
NEW!Result of the pixel-reduce method:
The ammount of textdraws on this image above has been reduced from 495 to 245!!!
Version 1.5 reduces this example to just 74 textdraws!!!!
Important notes:
1. Please note that the SA-MP server has a 2048 textdraw limit! This means you can only convert small images arround 64x64 (depends on how much transparant pixels and nearby pixels with the same color there are to combine).
2. 1 pixel will be showed larger as the original due to the 640x480 scale !
3. The pixelcount on the details is INCLUDING transparant pixels, transparant pixels will not be made as textdraw though.
How to use it ?
1. resize your logo so it is arround 45x45 pixels (can be smaller or maybe even larger, it also depens on the ammount of transparant pixels you have).
2. Run the tool and click on Load Image, select now your resized logo/image.
3. Click on "Render image", and select the output where you want to save the pawn file.
4. Wait until its finished and then open the filterscript with pawn and hit F5 (compile it).
5. Your filterscript is ready to go!
License
*Do NOT re-release it, clame it as your own or mirror it!
*You are allowed to use PARTS of the code for yourself, but atleast put some credits in the comments to me!
Donwlad
|
|
|
Why the competition now? |
Posted by: AkiraR - 2019-04-16, 10:11 PM - Forum: General Discussions
- Replies (11)
|
|
For those who don't know, Zhao made a thread regarding an Official SAMP Discord. Why is this now becoming a thing while we've had the other for ages? Also secondly, if they are going to be opening this Discord in separation for against Crayder's, what is their goal?
edit: ya'll give a ____ if samp urls are dropped or are we not playin that game either?
AkiraR Wrote:"That is NOT the point. If you look at his quote and my post, it was retaining why is the team now constructing the Discord server? It's pretty obvious the prior "Unofficial SAMP Discord" was ran by the forum users. We get that but that other Discord is/was the primary Discord the forum users here used. If they wanted to establish their own w/o moderation/mutiny why not do it prior?
Plus, what does this in return come to us about other significant/public changes to be addressed? Discord is a massive communication hub. Therefore, is an announcement aside from Zhao, unless stickied posted? To be further included?"
Now they be deleting posts...
|
|
|
|