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

Username
  

Password
  





Search Forums



(Advanced Search)

Forum Statistics
» Members: 6,733
» Latest member: Laurievans
» Forum threads: 2,514
» Forum posts: 12,593

Full Statistics

Online Users
There are currently 266 online users.
» 0 Member(s) | 264 Guest(s)
Bing, Google

Latest Threads
German San Andreas Server
Forum: Advertisements
Last Post: Nova.Esports
Yesterday, 08:45 PM
» Replies: 1
» Views: 54
[balkan] Ultimate 2020 - ...
Forum: Gamemodes
Last Post: Saco
2026-07-28, 05:42 PM
» Replies: 12
» Views: 26,606
Carson County Roleplay - ...
Forum: Advertisements
Last Post: Carson County Roleplay
2026-07-27, 07:13 PM
» Replies: 0
» Views: 76
Random Message
Forum: Filterscripts
Last Post: Engkq
2026-07-27, 12:38 AM
» Replies: 0
» Views: 87
Virtual Reality Roleplay ...
Forum: Advertisements
Last Post: Emirto
2026-07-25, 10:59 PM
» Replies: 0
» Views: 74
[LIVE] [FRESH START] Ulti...
Forum: Advertisements
Last Post: Neville
2026-07-25, 09:10 AM
» Replies: 1
» Views: 256
[ULP] Gamemode Base para ...
Forum: Offtopic
Last Post: xcleone
2026-07-24, 02:22 AM
» Replies: 0
» Views: 424
RSC - (CW/TG | Sandbox)
Forum: Gamemodes
Last Post: 1NS
2026-07-23, 05:28 PM
» Replies: 0
» Views: 92
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-07-23, 03:55 PM
» Replies: 16
» Views: 6,758
Issue
Forum: General Discussions
Last Post: avoid
2026-07-21, 12:27 PM
» Replies: 0
» Views: 74

 
  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