Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,772
» Latest member: hiago.sucesso.hs
» Forum threads: 2,369
» Forum posts: 12,326

Full Statistics

Online Users
There are currently 292 online users.
» 1 Member(s) | 288 Guest(s)
Bing, Google, Applebot, GrandeLib

Latest Threads
Real-time pathfinder, opt...
Forum: Pawn Scripting
Last Post: hiago.sucesso.hs
6 hours ago
» Replies: 1
» Views: 152
Is there a WebSocket plug...
Forum: General Discussions
Last Post: hiago.sucesso.hs
6 hours ago
» Replies: 0
» Views: 10
What would you start?
Forum: Life
Last Post: HELLHOUND
2025-12-14, 10:32 PM
» Replies: 5
» Views: 10,300
After School Roleplay - G...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-14, 02:06 PM
» Replies: 3
» Views: 410
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: cosminupgaming
2025-12-13, 07:16 PM
» Replies: 4
» Views: 761
LCSHosting.eu - Free SA-M...
Forum: Tech
Last Post: LCSLaces
2025-12-12, 04:57 PM
» Replies: 0
» Views: 66
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2025-12-12, 03:29 PM
» Replies: 0
» Views: 50
Infamous Roleplay
Forum: Advertisements
Last Post: JakeFalcone
2025-12-11, 11:34 PM
» Replies: 0
» Views: 55
The server didn't respond...
Forum: Support
Last Post: HELLHOUND
2025-12-11, 01:17 PM
» Replies: 1
» Views: 197
Grand Gang War (GGW)
Forum: Advertisements
Last Post: piroballu
2025-12-09, 01:16 PM
» Replies: 1
» Views: 259

 
  [MAP] Desert Airport
Posted by: iChiwi_. - 2019-04-17, 11:28 AM - Forum: Filterscripts - No Replies

Abandoned Airport, which?had been destroyed due to the wars that happened recently between the?countries.



Every country trying to capture this place to have the most powerful vehicles.



Download:-

https://pastebin.com/W0VAbtc9?( will retexture it soon, so check the topic regularly )





Credits:-

iChiwi_.


  [MAP] Area 51
Posted by: iChiwi_. - 2019-04-17, 11:22 AM - Forum: Filterscripts - No Replies

A modern Military base which is good for Call of Duty servers & TDM servers.



Download:-

https://pastebin.com/472P3wvB?( I might retexture it soon, so check the topic regularly?)



Credits:-

iChiwi_.

ZigGamerx


  Discord SACNR Monitor Bot
Posted by: Bork - 2019-04-17, 10:22 AM - Forum: Tech - Replies (14)

I wrote a discord bot that will query information from the SACNR Monitor based on a IP and port you provide. It currently does not support URL's with an A record for an IP but I will eventually bring that out.



The invite link can be found here:?https://discordapp.com/api/oauth2/authorize?client_id=565207337883795487&permissions=8&scope=bot

To use the bot, all you need to type is:



Code:
!sacnr ip port(default 7777)



You'll get information like this thrown out:

[Image: EQGraNx.png]



For those who are wondering where it's being hosted and what it was written in, dakyskye?is hosting the bot and it was written in C#.

Have fun!


  [Include] pawn-array-view: non-owning spans for multi-dimensional pawn arrays
Posted by: Yashas - 2019-04-17, 05:00 AM - Forum: Plugins - No Replies

pawn-array-view

pawn-array-view is an efficient C library that abstracts the complex memory layout of multi-dimensional pawn arrays and provides an intuitive C/ array-like interface for dealing with them. The name suggests that the library only allows read-only access to the arrays but that's not true; you can access and modify the arrays. Any decent C compiler will be able to optimize off all access and modifications to the arrays into simple pointer arithmetic.

Defects (Help Wanted)
LICM optimizations aren't pushing loop invariant subexpressions out of the loop because of aliased pointers. I haven't figured out how to correctly place restrict qualifiers which aren't ignored.

Code:
int main() {
    pawn::array_view<int, 3> array((cell*)0x10000);
    for(int i = 0; i < 100; i) {
        for(int j = 0; j < 100; j) {
            for(int k = 0; k < 128; k) {
                array[i][j][k] = 10;
            }
        }
    }
    return 0;
}

The compiler does not move the array[i][j] calculations outside the loop. There is a valid reason to not move them since modifying an element could modify something which would require recalculating the indexes. This is useful only when indirection tables are being modified. The common case is data being modified but not the indirection table. In this situation, moving the calculations out of the loop improves performance.

There are more consequences. The compiler can also vectorize the loop if it manages to pull the subexpression out of the loop. The failure to move the subexpression outside the loop prevents a ton of optimizations.

Note that the optimizations happen when the array is only being read. The problem is for modifications only.

Plans
If the size of the arrays are known at compile-time, a better interface can be provided. I have plans on providing full-fledged container like support for arrays where the dimensions are available at compile time.

There is a project going on in the develop branch which has working but inefficient code for dealing with known dimensions at run-time.

I plan on renaming array_view to span. This include was initially providing a view but then the ability to mutate was added but the name wasn't changed. It's a very misleading name now.

Links


  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



[Image: sampctl-pawn--async--mysql-2f2f2f.svg?st...-the-badge]



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:



Code:
#include <pp-mysql>



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]);

? ?
// ...



  SAMPLauncherNET - A launcher for San Andreas Multiplayer
Posted by: Rafael_Rosse - 2019-04-16, 11:45 PM - Forum: Releases - Replies (12)

Author

[Image: -XQtOWURRuU.jpg]

SAMPLauncherNET

Download

Download SAMPLauncherNET at https://github.com/BigETI/SAMPLauncherNET/releases

Project and source code

The project and source code are located at GitHub: https://github.com/BigETI/SAMPLauncherNET

Features



Backwards compatibility

Most features that are present in the native SA:MP launcher are present in this application.



Modernized look

With the use of the Material Design layout the launcher looks modern.



Multi-language support

If you prefer a different language than the english language, you can easily change the language of the launcher.



ASI plugin loader and manager

Load or manage any GTA San Andreas compatible ASI plugin within this launcher.

Supported and listed ASI plugins by default:

SA:MP Discord Rich Presence plugin



Multi-threaded query mechanism

Fast server listing, where hundreds of SA:MP servers can be queried at the same time.



Show extended server information

List any relevant information of a server for example modes or server location with a couple of clicks.



Improved server filter

Search for your beloved server fast and easily



Search engines integration

Search anything related to a SA:MP server easily on popular search engines.



Debug mode and singleplayer

You can launch SA:MP debug mode or Grand Theft Auto San Andreas with a click on a button.



Media

The media tab allows to manage screenshots, look up the last chatlog and saved positions.



Sessions data

A very important feature for users who want to record session based data.

This can be enabled at the launcher options.



Version changer

Change your SA:MP version to your needs by applying a patch or installing manually.



SA:MP settings

Change your SA:MP settings through an user interface.



Server list APIs

Manage your server list endpoints, and access lists that were inaccessible through a launcher before.



Developer tools

Make your server development workflow easier by configuring, starting and joining your test server using the sampctl integration.



Screenshots

[Image: LFAbqcGrpq4.jpg]

[Image: 1ZOjfnW5ZKU.jpg]

[Image: OJnI7pSF_YM.jpg]

[Image: AiIHkN2Mtfs.jpg]

[Image: G5xwWzDFvDk.jpg]

[Image: IJYwzGDfA6A.jpg]

[Image: HW2bEprOf84.jpg]

[Image: Eey59-lqN2Q.jpg]

[Image: qO56Y988M5s.jpg]


  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)

[Video: https://www.youtube.com/watch?v=wa50L7Q0SuM]

Image2Textdraw 1.0 FINAL



[Image: 5kKdqYYdIuQ.jpg]

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:

[Image: qTfLS7W140E.jpg]



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...