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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 7,638
» Latest member: BrightNestK
» Forum threads: 2,352
» Forum posts: 12,297

Full Statistics

Online Users
There are currently 242 online users.
» 1 Member(s) | 237 Guest(s)
Google, Bing, DuckDuckGo, Baidu, pauli

Latest Threads
How to make your GTA SA:M...
Forum: Tutorials
Last Post: kayn
Today, 06:31 AM
» Replies: 4
» Views: 3,660
Cara buka blokir bale by ...
Forum: General Discussions
Last Post: majarreas
Today, 05:13 AM
» Replies: 0
» Views: 14
Cara Buka Blokir rekening...
Forum: General Discussions
Last Post: majarreas
Today, 05:04 AM
» Replies: 1
» Views: 12
Nomor WhatsApp resmi BWS ...
Forum: General Discussions
Last Post: berdaraind
Yesterday, 03:09 PM
» Replies: 1
» Views: 33
Nomor WhatsApp Bank Woori...
Forum: General Discussions
Last Post: berdaraind
Yesterday, 03:04 PM
» Replies: 1
» Views: 26
cara buka blokir rekening...
Forum: General Discussions
Last Post: berdaraind
Yesterday, 02:59 PM
» Replies: 1
» Views: 30
cara mengatasi tidak bisa...
Forum: General Discussions
Last Post: berdaraind
Yesterday, 02:54 PM
» Replies: 1
» Views: 27
Bagaimana jika lupa usern...
Forum: General Discussions
Last Post: berdaraind
Yesterday, 02:50 PM
» Replies: 0
» Views: 20
Cara membuka blokir BWS M...
Forum: General Discussions
Last Post: berdaraind
Yesterday, 02:47 PM
» Replies: 0
» Views: 19
Cara buka blokir bale btn
Forum: General Discussions
Last Post: berdaraind
Yesterday, 02:45 PM
» Replies: 0
» Views: 19

 
  Latvian
Posted by: Krisitis - 2024-01-21, 11:10 AM - Forum: Other - No Replies

Paskatīsimies, varbūt te kāds vēl ir aizķēries!


  How to fix samp zcmd commands not working
Posted by: angelovj8 - 2024-01-20, 08:29 PM - Forum: Questions and Suggestions - Replies (5)

How to fix samp zcmd commands not working


  Dark theme for the forum
Posted by: ChronosXYZ - 2024-01-20, 05:43 AM - Forum: Questions and Suggestions - Replies (1)

Current theme of the open.mp forum is very bright and disturbing. It would be really nice to have some dark theme.


Exclamation AttachVehicleToVehicle
Posted by: aguadecoco1301 - 2024-01-20, 12:53 AM - Forum: Pawn Scripting - Replies (1)

Hello everyone. I am programming a server in Pawn, and I would like to know if there is any function or plugin that allows to attach two vehicles and have them move at the same time, as it happens for example in the "Cop Wheels" mission where HPV1000 are hooked to the vehicle transporter truck.

This is something I've wanted to do for a long time and never found anything, I only remember once finding a post in the official forum about it only being possible with a plugin, but I never found any that allowed it.

I also add that I know you can teleport the vehicle for each update, but this looks ugly and causes collisions.
I also know that in Sanny Builder for programming in cleos there is such a function.

Does anyone know a way to do it?


  discord ban??
Posted by: CJ101 - 2024-01-19, 08:05 PM - Forum: Chat - No Replies

I seem to be banned from the SA-MP OpenMp discord. how would i go about appealing that?


  issue with forEach
Posted by: CJ101 - 2024-01-19, 12:16 AM - Forum: Pawn Scripting - Replies (2)

Does open.mp not work with foreach? I get the error:
C:\Users\jdawg\OneDrive\Documents\RXDM\gamemodes\rxdm-sql.pwn(4887) : error 017: undefined symbol "Rows@YSII_Ag"

Here's part of my code, the error is on the foreach() line

Code:
mysql_query(rxdm,"SELECT * FROM `props`");
new Rows = cache_num_rows();
new tmp[35];
if(Rows > 0)
{
foreach (new row:Rows)
{


  Connecting and disconnecting the server
Posted by: iyat.asagy3 - 2024-01-18, 09:07 PM - Forum: Support - No Replies

Hello, how long has it been when I go to a server, after about 10 to 12 minutes the server restarts for me and sometimes I need to exit the game in all servers, how can I solve this problem?


Exclamation Default Open.MP server return compiler error on default samp public callbacks.
Posted by: J0nathan550 - 2024-01-18, 07:47 PM - Forum: Pawn Scripting - Replies (3)

Hello everyone! I installed the latest release of the OpenMP server. And when I tried to compile blank gamemode to just see how it all works, it give me the error on Default SAMP functions like, OnPlayerDeath and etc. Because as I understand they are already defined somewhere in `open.mp` include.

Error is: error 025: function heading differs from prototype

[Image: image.png?ex=65bbf63d&is=65a9813d&hm=f4c...height=564]

This error get fired up when I call default `public OnPlayerDeath`, and I don't know what to do, I really need this callback. 

I hope you will help me.


Rainbow Parallel for missing iterations?
Posted by: visibleonbush1 - 2024-01-18, 07:00 PM - Forum: Questions and Suggestions - Replies (2)

Hi, I'm working on optimizing a piece of code, the code performs well for smaller values of 'n' (e.g., 10,000), but when 'n' is significantly larger (e.g., 100,000), it seems to skip a considerable number of iterations. Specifically, I've tested it with 'n' set to 100,000, and it only executes 1,410,065,408 iterations out of the expected 10,000,000,000., im asking here because if n is not so big (10k) he is perfectly fine, am i missing anything (thank you in advance).

Code:
int compute_forces( void )
{
    int n_intersections = 0;
    int nThread = omp_get_num_threads();
    int *nit = calloc(8, sizeof(int));
    long long asdf = 0;
    // Parallelized the outer function, because the internal would have a lot more overhead
    #pragma omp parallel for collapse(2) default(none) shared(ncircles, circles, EPSILON, K, nit) schedule(static, ncircles) reduction(+:n_intersections) reduction(+:asdf)
    for (int i=0; i<ncircles; i++) {
        for (int j=0; j<ncircles; j++) {
            //nit[omp_get_thread_num()]++;
            asdf++;
            if (j <= i) {
                continue;
            }
           
            const float deltax = circles[j].x - circles[i].x;
            const float deltay = circles[j].y - circles[i].y;
            const float dist = hypotf(deltax, deltay);
            const float Rsum = circles[i].r + circles[j].r;

            if (dist < Rsum - EPSILON) {
                n_intersections++;
                const float overlap = Rsum - dist;
                assert(overlap > 0.0);

                const float overlap_tmp = overlap / (dist + EPSILON);
               
                const float overlap_x = overlap_tmp * deltax;
                const float overlap_y = overlap_tmp * deltay;

                #pragma omp atomic
                circles[i].dx -= overlap_x;
               
                #pragma omp atomic
                circles[i].dy -= overlap_y;

                #pragma omp atomic
                circles[j].dx += overlap_x;

                #pragma omp atomic
                circles[j].dy += overlap_y;
            }
        }
    }


Sad why when I run the server suddenly it closes by itself
Posted by: unyukya8503 - 2024-01-18, 07:15 AM - Forum: Support - Replies (2)

when I want to run the server in gamemode suddenly the application closes itself a few minutes when I enter my sample server, please explain