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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,654
» Latest member: Sebastianx
» Forum threads: 2,484
» Forum posts: 12,536

Full Statistics

Online Users
There are currently 316 online users.
» 0 Member(s) | 313 Guest(s)
Yandex, Google, Bing

Latest Threads
🎮 [91.134.166.72:5555] Jo...
Forum: Advertisements
Last Post: tokofridonashvili_01
10 hours ago
» Replies: 0
» Views: 14
Project San Andreas Rolep...
Forum: Advertisements
Last Post: Artysh
Yesterday, 04:08 PM
» Replies: 0
» Views: 15
Qawno for macOS — native ...
Forum: Releases
Last Post: DrVandersexxx
Yesterday, 09:57 AM
» Replies: 1
» Views: 91
[Release] Spawn — IDE for...
Forum: Programming
Last Post: Daniil Korochansky
2026-06-13, 08:35 PM
» Replies: 0
» Views: 31
Proiecte care asteapta Op...
Forum: Romanian/Română
Last Post: ionuzcostin
2026-06-13, 07:55 PM
» Replies: 14
» Views: 28,951
Streets Of Vice Roleplay ...
Forum: Advertisements
Last Post: BazMartin
2026-06-13, 07:50 PM
» Replies: 0
» Views: 33
[VoiceChat] omp-voice
Forum: Plugins
Last Post: ionuzcostin
2026-06-13, 06:15 PM
» Replies: 0
» Views: 29
discord unban appeal - pa...
Forum: Chat
Last Post: PanizFazel
2026-06-13, 01:28 AM
» Replies: 0
» Views: 51
open.mp Dashboard
Forum: Chat
Last Post: Nexius
2026-06-11, 01:22 PM
» Replies: 9
» Views: 703
[SERVER] San Andreas Mult...
Forum: Advertisements
Last Post: tokofridonashvili
2026-06-11, 09:50 AM
» Replies: 0
» Views: 68

 
  What Do You Think?
Posted by: yamanshrestha2018 - 2024-07-02, 08:18 PM - Forum: Programming - Replies (5)

How long do you think it would take for a person to learn the pawn lang from scratch and code his own server and get it running?? 2 years??


Heart TOP 10 MySQL list
Posted by: Blood - 2024-06-30, 04:52 PM - Forum: Pawn Scripting - Replies (1)

Hey, I was wondering if someone could help me out writing a code for displaying TOP 10 players by a parameter, for example top 10 with highest score.
I know how to do it in the oldest MySQL, but I havent been around for some time and can't figure out how to do it with the newest version.
This is my old code

Code:
mysql_query("SELECT `Score` ,`User` FROM `table` ORDER BY `Score` DESC LIMIT 10");
mysql_store_result();
new id,output[600], str[64];
while(mysql_retrieve_row())
{
    id ++;
    new username[24], scorevariable[5];
    mysql_fetch_field_row(username, "Username");
    mysql_fetch_field_row(scorevariable, "Score");
    format(str,sizeof str, "%i. %s - %i score\n",id,username,strval(scorevariable));
    strcat(output, str);
}
mysql_free_result();
ShowPlayerDialog(playerid,1945,0,"Score top list",output,"Close","");


  Issue with compiler
Posted by: LARP Head Admin - 2024-06-30, 08:56 AM - Forum: Pawn Scripting - Replies (1)

Hi,

I'm trying to convert over our old SA:MP script to the latest version of O:MP, I've unfortunately gotten stuck at the first hurdle.


I'm getting a very basic error after seemingly doing everything correct.

I've downloaded the latest server exec (I haven't found much documentation on what else I need to be downloading) which should have all the up to date includes etc related to the standard release of O:MP.

The error I'm getting is:

Quote:\OpenMP LARP Script\gamemodes\new_0.1.9.pwn(32) : fatal error 100: cannot read from file: "openmp\openmp"

after doing what the compatibility post said (below):

Quote:#define OPENMP_COMPAT
#include <openmp\openmp>

Now I completely realise that I do not have the Openmp\openmp directory what so ever, so essentially my question is where do I find it, I've been looking for quite some time now.

I apologise if I'm just being a retard and its somewhere plainly obvious.


  Further development of OMP
Posted by: alexdrift - 2024-06-29, 10:51 PM - Forum: Questions and Suggestions - No Replies

Hello I am from Russia. I would like to receive information on the further development of Open Multiplayer? Should we wait for further development of the server and client side? will the launcher and samp.dll R5 be packaged into a single installation file? or will you develop your own client? My goal is to support Open Multiplayer in Russia, I have my own forum. So what can Russian society expect? Can we look forward to further development of Open Multiplayer?


  delete
Posted by: Blood - 2024-06-28, 08:56 PM - Forum: Pawn Scripting - No Replies

nvm.....


Question Change Vehicle Color After Respawn
Posted by: LuvaDePedreiro - 2024-06-28, 12:54 PM - Forum: Pawn Scripting - Replies (6)

Hello everybody! I have a question about a possible problem I am facing. I added some vehicles using the "AddStaticVehicleEx" function with a respawn delay of 300 seconds, and with colors already defined. Is it possible to make the colors change after it respawns? The way I'm trying to make this work is to use the "OnVehicleSpawn" callback with the "ChangeVehicleColor" function. However, after the vehicle is respawned, the color remains the same.

PHP Code:
public OnVehicleSpawn(vehicleid)
{
ChangeVehicleColor(vehicleidrandom(127), random(127));
return 
1;


  Server not on Internet Tab
Posted by: Blood - 2024-06-26, 09:51 PM - Forum: Support - No Replies

So what's going on with the listing? I have read that there were some problems not long ago that you had to pay for your server to be even listed in the Internet Tab? I would like to get an update, is that still so? Because I just started a server and it is not showing up in the Internet Tab.


  [HELP] Prevent Spoofed Dialog Attack
Posted by: hilmanXcode - 2024-06-25, 08:21 PM - Forum: Pawn Scripting - Replies (2)

Hello, bro
how to prevent attack from https://wiki.blast.hk/ru/moonloader/lua/...ogResponse ?


  Ajuda script pls
Posted by: DOCA - 2024-06-25, 07:00 AM - Forum: Portuguese/Português - Replies (2)

  • Estou tentando ligar minha GameMode e está dando esse Erro no crashDetect.
    OBS: Eu coloquei ela na Host e não quis ligar, mas na minha maquina Liga.

    Code:
    [debug] Long callback execution detected (hang or performance issue)
    [debug] AMX backtrace:
    [debug] #0 0000aec4 in DOF2_ParseFile (file[]=@001b4d70 "Logs/Recorde.ini", extraid=-1, bool:callback=false) at C:\Users\LLLTR.DESKTOP-RTSLUFF\Desktop\ThugBrasilV1\pawno\include\DOF2.inc:1059
    [debug] #1 0000a2f4 in DOF2_GetStringEx (file[]=@001b4d70 "Logs/Recorde.ini", key[]=@001b4db4 "RecordeNum", result[]=@002d91e4 "", size=16, tag[]=@00299294 "") at C:\Users\LLLTR.DESKTOP-RTSLUFF\Desktop\ThugBrasilV1\pawno\include\DOF2.inc:698
    [debug] #2 0000a4f8 in DOF2_GetInt (file[]=@001b4d70 "Logs/Recorde.ini", key[]=@001b4db4 "RecordeNum", tag[]=@00299294 "") at C:\Users\LLLTR.DESKTOP-RTSLUFF\Desktop\ThugBrasilV1\pawno\include\DOF2.inc:865
    [debug] #3 000138f8 in public Itter_OnGameModeInit () at C:\Users\LLLTR.DESKTOP-RTSLUFF\Desktop\ThugBrasilV1\gamemodes\thugbrasil.pwn:1020
    [debug] #4 native CallLocalFunction () in samp-server.exe
    [debug] #5 00010204 in public zcmd_OnGameModeInit () at C:\Users\LLLTR.DESKTOP-RTSLUFF\Desktop\ThugBrasilV1\pawno\include\foreach.inc:689
    [debug] #6 native CallLocalFunction () in samp-server.exe
    [debug] #7 0000f90c in public SSCANF_OnGameModeInit ()  at C:\Users\LLLTR.DESKTOP-RTSLUFF\Desktop\ThugBrasilV1\pawno\include\zcmd.inc:68
    [debug] #8 00001764 in public OnGameModeInit () at C:\Users\LLLTR.DESKTOP-RTSLUFF\Desktop\ThugBrasilV1\pawno\include\sscanf2.inc:118

    Me ajugem !!!!


  Running style
Posted by: SuperNatural - 2024-06-25, 04:38 AM - Forum: Pawn Scripting - Replies (1)

Hello, I'm a junior SAMP developer. I started a gamemode from the beginning and I'm having some troubles with the skins. The ID 0 (CJ) runs normal, but other skins run in different way. I know this might be a easy trouble to fix, but I can't find any documentation about. So, how can I change the running style in all the other skins and make them to run like CJ?

Thanks for your help, and I hope not to be a fool. lol