| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 223 online users. » 0 Member(s) | 221 Guest(s) Google, Bing
|
|
|
| Warning |
|
Posted by: ladcenkomisa - 2025-01-15, 08:50 PM - Forum: Russian/???????
- Replies (1)
|
 |
согласие с условиями регистрации[2025-01-15T23:36:36+0300] [Предупреждение] Не удалось объявить устаревшую сеть open.mp списке.
[2025-01-15T23:36:36+0300] [Предупреждение] Это не повлияет на поведение сервера.
[2025-01-15T23:36:36+0300] [Предупреждение] Статус: 406
[2025-01-15T23:36:36+0300] [Предупреждение] Сообщение: {"error":"не удалось запросить сервер: время ожидания чтения сокета истекло"}
|
|
|
|
| My server version does not appear as "omp" but rather as "0.3.7-R2" |
|
Posted by: black_tiger - 2025-01-15, 01:30 PM - Forum: Support
- No Replies
|
 |
Hello, I installed OpenMP on my local server and it worked perfectly, "omp 1.4.0.2783" appears in the "version" field, but I did the same with the hosting company I hired, they have the version "omp 1.0.1.2409" but it does not appear in the "server" field. Is there any configuration to display the "omp" version instead of "0.3.7-R2"?
|
|
|
|
| duda sobre %d |
|
Posted by: Nikolay_Staggs - 2025-01-15, 06:29 AM - Forum: Programaci?n
- Replies (1)
|
 |
tengo una duda sobre %d como puedo hacer %.1f en %d osea que salgan mas numeros en %d porque yo se que si a %.1f se le pueden poner 2 o 3 o 4 o 5 porque quiero modificar el hud del dinero pero quiero que sea igual solo que personalizado a mi gusto por su atencion gracias
|
|
|
|
AntyCheat System [SA-MP/OpenMP] |
|
Posted by: Pevenaider - 2025-01-11, 03:28 AM - Forum: Filterscripts
- Replies (11)
|
 |
AntyCheat for SA-MP/OpenMP
Hi! Let me introduce you to an Anti-Cheat system based on the SendClientCheck function with type 0x5. It’s designed to detect player modifications like S0beit, CLEO 4, CLEO 5 with Ultimate ASI Loader, MoonLoader, SilentPatch, SampFuncs, modified VorbisFile.dll, UltraWH and FakeMobile
The script has been tested on SA-MP client versions
Below, you’ll find some screenshots and a link to the script.
AntyCheat v2.5.4(OpenMP) released! What’s new?
- Bug fixes and improved detection
|
|
|
|
| Aba Internet / Hosted |
|
Posted by: jds - 2025-01-08, 02:45 PM - Forum: Portuguese/Portugu?s
- No Replies
|
 |
Bom Dia a todos, Comunidade queria saber se a aba internet ou hosted esta liberada no caso publica ou ainda tem que pagar para listar o servidor
|
|
|
|
| [HELP]How to Retrieve and Use Values from MySQL Database in SA-MP Server? |
|
Posted by: dudungariska - 2025-01-05, 10:23 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi everyone,
Hi, I’m trying to make a UCP system for my SA-MP roleplay server, but I’m really new to this, and I’m stuck. My idea is that players will register on a website outside the game, and the website will save their data (like username and email) into a MySQL database. When they join the game, I want the server to get that data (like their email) and show it in something like a dialog or a
/stats command. I don’t really understand how to make the server read the data from the database and display it in-game. Can someone explain how to do this step by step?
Here’s what I’m trying to achieve:
- Retrieve Data: How can I fetch the player’s email from the MySQL database when they log in?
- Display Data: How do I show the retrieved email in a dialog or a command (like/stats)?
- Syncing: What’s the best way to ensure that the data in the database matches the player in-game?
I’m using XAMPP for the database and the MySQL plugin for SA-MP. If anyone has example scripts, explanations, or best practices for linking the UCP with the SA-MP server, I’d greatly appreciate it!
Thanks in advance!
|
|
|
|
Help with a loop |
|
Posted by: Neckiy - 2025-01-05, 03:47 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
So I feel very stupid right now but can somebody help me with this problem.
I'm making a loop which loads the mysql database data for my admin system.
Code: #define MAX_ADMINS 25
public OnGameModeInit() {
handle = mysql_connect(MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, MYSQL_DATABASE);
new query[128];
for(new i = 0; i < MAX_ADMINS; i++) {
mysql_format(handle, query, sizeof(query), "SELECT * FROM admini WHERE Slot='%d'", i);
mysql_tquery(handle, query, "OnAdminLoad", "i", i);
}
return 1;
}
forward OnAdminLoad(i);
public OnAdminLoad(i) {
if(cache_num_rows() > 0) {
cache_get_value(0, "Ime", AdminInfo[i+1][aIme], 25); // THIS IS WHERE THE ERROR OCCURS
cache_get_value_int(0, "MinNeaktivnost", AdminInfo[i+1][aMinNeaktivnost]);
cache_get_value_int(0, "Neaktivnost", AdminInfo[i+1][aNeaktivnost]);
cache_get_value_int(0, "Zauzeto", AdminInfo[i+1][aZauzeto]);
cache_get_value_int(0, "Level", AdminInfo[i+1][aLevel]);
cache_get_value(0, "ImeLevel", AdminInfo[i+1][aImeLevel], 32);
} else {
print("Ucitavanje Admin Databaze nije uspelo.");
}
return true;
}
The error I get is:
[debug] Run time error 4: "Array index out of bounds"
[2025-01-05T16:46:11+0100] [Info] [debug] Attempted to read/write array element at index 25 in array of size 25
[2025-01-05T16:46:11+0100] [Info] [debug] AMX backtrace:
[2025-01-05T16:46:11+0100] [Info] [debug] #0 000243c8 in public OnAdminLoad (i=24) at C:\Users\neman\Desktop\openmp server\gamemodes\skripta.pwn:120
Even though the loop loops from 0 to 24 and then I load it "i+1" because in my database, the Admin Slots are from 1 to 25?
Can somebody explain where the problem is?
|
|
|
|
| SAMP/OMP Discord - Help us hit 35k users! |
|
Posted by: Potassium - 2025-01-05, 09:52 AM - Forum: General Discussions
- No Replies
|
 |
Hi all,
I think most of us are in the Discord server already, but thought I would remind everyone on the forums that it exists just in case :)
Our Discord server has:
👥 Almost 35,000 users
- A good combination of veteran SA-MP players and new players - find old friends who you used to play with, and make new ones!
- Players from all different servers and all different countries - lots of old players from popular servers!
- SA-related channels
- Casual/off-topic chat channels
- VIP channels
- Channels to showcase your creations (both SA and non-SA!)
- open.mp development log channel
- Server advertisements
- Dedicated channels for each spoken language to meet people from your own countries
📰 The most up-to-date information on open.mp
- Announcements
- News and updates
- Releases
- Development log
- Real-time feedback from open.mp partners
🆘 Support channels
- open.mp support
- SA-MP support
- GTA SA support
- Pawn/scripting support
- Other software dev support
- Tech support
Come and hang out! :)
http://discord.com/samp
|
|
|
|
|