| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 6,652
» Latest member: xleb
» Forum threads: 2,482
» Forum posts: 12,533
Full Statistics
|
| Online Users |
There are currently 287 online users. » 1 Member(s) | 282 Guest(s) Google, Bing, Applebot, Yandex, DrVandersexxx
|
| Latest Threads |
[Release] Spawn — IDE for...
Forum: Programming
Last Post: Daniil Korochansky
Yesterday, 08:35 PM
» Replies: 0
» Views: 28
|
Proiecte care asteapta Op...
Forum: Romanian/Română
Last Post: ionuzcostin
Yesterday, 07:55 PM
» Replies: 14
» Views: 28,936
|
Streets Of Vice Roleplay ...
Forum: Advertisements
Last Post: BazMartin
Yesterday, 07:50 PM
» Replies: 0
» Views: 28
|
[VoiceChat] omp-voice
Forum: Plugins
Last Post: ionuzcostin
Yesterday, 06:15 PM
» Replies: 0
» Views: 25
|
discord unban appeal - pa...
Forum: Chat
Last Post: PanizFazel
Yesterday, 01:28 AM
» Replies: 0
» Views: 44
|
open.mp Dashboard
Forum: Chat
Last Post: Nexius
2026-06-11, 01:22 PM
» Replies: 9
» Views: 687
|
[SERVER] San Andreas Mult...
Forum: Advertisements
Last Post: tokofridonashvili
2026-06-11, 09:50 AM
» Replies: 0
» Views: 58
|
SS7-AI v1.0.0
Forum: Libraries
Last Post: Saints7
2026-06-08, 03:04 PM
» Replies: 0
» Views: 75
|
[Announcement] Spawn - An...
Forum: Tech
Last Post: Daniil Korochansky
2026-06-08, 10:48 AM
» Replies: 0
» Views: 105
|
Indonesian
Forum: Other
Last Post: 14March
2026-06-04, 02:31 PM
» Replies: 9
» Views: 18,260
|
|
|
There is a problem with the output of messages to the server console. |
|
Posted by: droffet_studio - 2023-01-29, 11:46 AM - Forum: Questions and Suggestions
- Replies (2)
|
 |
Hello, there is a problem with outputting arrays from include to the server console. I am using visual studio code, windows 10 x64.
The essence is the following, I have an include in which there is a stock to return arrays with a parameter, similar to:
Code: stock GetNickName(playerid)
{
new string[MAX_PLAYER_NAME];
GetPlayerName(playerid, string, MAX_PLAYER_NAME);
return string;
}
I use windows encoding 1251 on the main script file of the server and on the include, in my code there are functions that, roughly speaking, output messages from the array directly to the server console, this is what happens:
Code: [2023-01-29T14:40:27+0300] [Info] [
[2023-01-29T14:40:27+0300] [Info] [
[2023-01-29T14:40:27+0300] [Info] Legacy Network started on port 7777
Instead of "[2023-01-29T14:40:27+0300] [Info] [" it should be "[БАЗА ДАННЫХ] reconnect 18 sec...".
I think the essence of the problem is clear, by the way - everything works fine on samp-server.exe, messages are output to the console on windows 1251 without any problems.
Здравствуйте, проблема с выводом массивов из инклуда в консоль сервера. Я пользуюсь visual studio code, windows 10 x64.
Суть следующая, у меня есть инклуд в котором есть stock для возвращения массивов с параметром, на подобии:
Code: stock GetNickName(playerid)
{
new string[MAX_PLAYER_NAME];
GetPlayerName(playerid, string, MAX_PLAYER_NAME);
return string;
}
Я использую кодировку windows 1251 на главном сценарном файле сервера и на инклуде, в моем коде есть функции, которые грубо говоря - выводят сообщения из массива прямо в консоль сервера, вот что получается:
Code: [2023-01-29T14:40:27+0300] [Info] [
[2023-01-29T14:40:27+0300] [Info] [
[2023-01-29T14:40:27+0300] [Info] Legacy Network started on port 7777
Вместо "[2023-01-29T14:40:27+0300] [Info] [" должно быть "[БАЗА ДАННЫХ] reconnect 18 sec...".
Думаю, суть проблемы ясна, к слову - на samp-server.exe работает все нормально, сообщения в консоль выводятся на windows 1251 без каких либо проблем.
|
|
|
|
| Problem with compiler |
|
Posted by: MirzaTinjak - 2023-01-27, 10:53 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi there.
I have one error message that i can't resolve:
Code: C:\Users\Mirza\Documents\Mirza\SAMP_server\SAMP_server\Server\qawno\include\YSI_Storage\y_ini\..\..\YSI_Core\y_core\y_core_entry.inc(120) : user error: YSI assumes `sNAMEMAX` is 31.
tasks.json for compiler settings, in VS Code:
Code: [color=#000000]{[/color][/font][/color]
[color=#000000] {
[/color]
"version": "2.0.0",
"tasks": [
{
"label": "build-normal",
"type": "shell",
"command": "${workspaceRoot}/Server/qawno/pawncc.exe",
"runOptions": {
"instanceLimit": 1,
},
"args": [
"${file}",
"-Dgamemodes",
"'-;+'",
"'-(+'",
"'-d3'",
"'-Z+'"
],
"group": {
"kind": "build",
"isDefault": true
},
"isBackground": false,
"presentation": {
"reveal": "always",
"panel": "dedicated"
},
"problemMatcher": {
"owner": "pawn",
"fileLocation": [
"relative",
"${workspaceRoot}"
],
"pattern": {
"regexp": "^(.*?)\\(([0-9]*)[- 0-9]*\\) \\: (fatal error|error|warning) [0-9]*\\: (.*)$",
"file": 1,
"location": 2,
"severity": 3,
"message": 4
}
}
}
],
[color=#000000]}[/color][color=#000000][font=Consolas, 'Courier New', monospace]
I include YSI like this:
Code: [/font][/color]
#include <open.mp>
#include <a_mysql>
#include <a_http>
#include <sscanf2>
#include <streamer>
#include <YSI_Storage\y_ini>
#include <YSI_Data\y_iterate>
#include <YSI_Coding\y_timers>
[color=#000000][font=Consolas, 'Courier New', monospace]
I try to modify compiler settings but I couldn't find any solution for it.
|
|
|
|
| [OMP] Errors compiling |
|
Posted by: leoclose575 - 2023-01-27, 09:08 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hello, I tried to compile samp gamemode with open.mp and encountered errors and warning that I can't find anywhere in docs
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys) ------> error 025: function heading differs from prototype
warning 213: tag mismatch: expected tag "t_KEY", but found none ("_")
public OnPlayerWeaponShot(playerid, weaponid, hittype, hitid, Float:fX, Float:fY, Float:fZ) ----------> error 025: function heading differs from prototype
GivePlayerWeapon(playerid, 31, 15); ------------------> warning 213: tag mismatch: expected tag "t_WEAPON", but found none ("_")
|
|
|
|
| HELP BUG |
|
Posted by: rockys - 2023-01-26, 04:41 PM - Forum: Pawn Scripting
- No Replies
|
 |
HI, i have a bug on my server
OMP RC2
When you die inside vehicle by explosion and you got spawn inside an interior on your screen apper a visual bug, if i spawn again the visual bug dissaper
[/url]Imgur: The magic of the Internet[url=https://imgur.com/a/8bbCIiM]
|
|
|
|
| sa-mp-0.3.7-R5... |
|
Posted by: Gm_KoDi - 2023-01-26, 04:18 PM - Forum: General Discussions
- Replies (3)
|
 |
Hello, I was looking at the official SAMP website and noticed that a new client version has been released, now there is version R5, does anyone know what has changed?
|
|
|
|
| Y-less have patented the game sa-mp and open mp? |
|
Posted by: NoxxeR - 2023-01-17, 12:27 PM - Forum: General Discussions
- Replies (5)
|
 |
Question for y-less, did you patent the game, some time ago people leeched the sa-mp source code and some people stole it.
If you patent the game then nobody can steal your source code just like that, then you can sue them :)
Will be lots of fun to play in the future the san andreas open multiplayer game :D
|
|
|
|
I need help for plugins |
|
Posted by: cr32 - 2023-01-11, 10:50 PM - Forum: Pawn Scripting
- Replies (1)
|
 |
- (plugins/mysql.so: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference)(plugins/sampac.so: cannot open shared object file: No such file or directory)(libonig.so.2: cannot open shared object file: No such file or directory)
|
|
|
|
|