| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 8,103
» Latest member: rae
» Forum threads: 2,441
» Forum posts: 12,460
Full Statistics
|
| Online Users |
There are currently 342 online users. » 0 Member(s) | 338 Guest(s) Bing, Applebot, Google, Yandex
|
| Latest Threads |
Help me find a current ar...
Forum: Tech
Last Post: KOZYR
2026-04-24, 03:53 PM
» Replies: 0
» Views: 41
|
Czy SA:MP RP jeszcze żyje...
Forum: Ogólne
Last Post: Sztakier
2026-04-24, 09:11 AM
» Replies: 0
» Views: 46
|
Donald Trump wars every c...
Forum: Life
Last Post: NoxxeR
2026-04-23, 08:04 PM
» Replies: 0
» Views: 49
|
Ajuda com salvamento nao ...
Forum: Portuguese/Português
Last Post: zGu1Zin_
2026-04-22, 10:05 PM
» Replies: 0
» Views: 55
|
PawnPro 3.0 — Extensão VS...
Forum: Portuguese/Português
Last Post: NullSablex
2026-04-19, 10:58 AM
» Replies: 0
» Views: 73
|
Harmony Maps
Forum: Maps
Last Post: Harmony
2026-04-19, 09:36 AM
» Replies: 0
» Views: 93
|
SOLS Roleplay (2026)
Forum: Advertisements
Last Post: TyDolla
2026-04-18, 04:47 PM
» Replies: 0
» Views: 110
|
SOLS Roleplay (Official T...
Forum: Videos and Screenshots
Last Post: TyDolla
2026-04-18, 04:45 PM
» Replies: 0
» Views: 76
|
SAMPHUB.
Forum: Spanish/Español
Last Post: picxii
2026-04-16, 02:14 PM
» Replies: 19
» Views: 41,479
|
Project: LAS VENTURAS ROL...
Forum: Advertisements
Last Post: Kremzy
2026-04-15, 12:49 AM
» Replies: 0
» Views: 95
|
|
|
| Objects disappearing |
|
Posted by: Worm - 2024-02-12, 06:20 PM - Forum: Support
- No Replies
|
 |
Hi,
I have been facing an issue with the objects for awhile. The objects randomly disappear in-game. I had to re-write the script multiple times and even updated the streamer and downgraded it.
By disappearing, I mean that the object may get randomly destroyed on it's own. I even tried to track it by using a CMD to scan down all of the valid objects in the server and it shows that some objects are not valid anymore (Which means that they got deleted).
Is there anything that can be triggered by the streamer that can cause this? As I don't have anything in the script that can cause the object to be deleted on it's own.
|
|
|
|
| cannot enter more than one player |
|
Posted by: ayalanicolas176 - 2024-02-10, 03:50 PM - Forum: Support
- No Replies
|
 |
hi, im having a problem with login in my server, we cannot enter more than 1 player, when the second one enters, he's kept in "Connected. Joining the game" and nothing further happens.
I did a debugging log and all the prints i put in OnPlayerConnect function are called correctly thorough but nothing player-related happens
Code: Playerid %d (1) detected, step 1/2/3...
Then, when i disconnect using /q it shows like this
Code: [part] Emmet_Jackson has left the server (1:2)
like i was kicked/banned, i do not know if it has something to do with all this problem but for me its weird cause the id 0 player disconnect reason shows normally.
my config.json:
Code: {
"announce": true,
"artwork": {
"cdn": "",
"enable": true,
"models_path": "models"
},
"long_call_time": 20000,
"chat_input_filter": true,
"enable_query": true,
"game": {
"allow_interior_weapons": true,
"chat_radius": 200.0,
"death_drop_amount": 0,
"gravity": 0.008,
"group_player_objects": false,
"lag_compensation_mode": 1,
"map": "San Andreas",
"mode": "Roleplay",
"nametag_draw_radius": 70.0,
"player_marker_draw_radius": 250.0,
"player_marker_mode": 1,
"time": 12,
"use_all_animations": false,
"use_chat_radius": false,
"use_entry_exit_markers": true,
"use_instagib": false,
"use_manual_engine_and_lights": false,
"use_nametag_los": true,
"use_nametags": true,
"use_player_marker_draw_radius": false,
"use_player_ped_anims": false,
"use_stunt_bonuses": true,
"use_vehicle_friendly_fire": false,
"use_zone_names": false,
"vehicle_respawn_time": 10000,
"weather": 10
},
"language": "Español - Spanish",
"logging": {
"enable": true,
"log_chat": true,
"log_cookies": false,
"log_deaths": true,
"log_queries": false,
"log_sqlite": false,
"log_sqlite_queries": false,
"timestamp_format": "[%Y-%m-%dT%H:%M:%S%z]",
"use_prefix": true,
"use_timestamp": true
},
"max_bots": 0,
"max_players": 50,
"name": "open.mp server",
"network": {
"acks_limit": 3000,
"aiming_sync_rate": 30,
"allow_037_clients": true,
"bind": "",
"cookie_reseed_time": 300000,
"in_vehicle_sync_rate": 30,
"limits_ban_time": 60000,
"message_hole_limit": 3000,
"messages_limit": 500,
"minimum_connection_time": 0,
"mtu": 576,
"multiplier": 10,
"on_foot_sync_rate": 30,
"player_marker_sync_rate": 2500,
"player_timeout": 10000,
"port": 7777,
"public_addr": "",
"stream_radius": 200.0,
"stream_rate": 1000,
"time_sync_rate": 30000,
"use_lan_mode": false
},
"password": "",
"pawn": {
"legacy_plugins": [
"crashdetect.so",
"sscanf.so",
"mysql.so",
"streamer.so"
],
"main_scripts": [
"roleplay"
],
"side_scripts": ["filterscripts/Mapeos"]
},
"rcon": {
"allow_teleport": false,
"enable": false,
"password": "sarp2233"
},
"sleep": 5.0,
"use_dyn_ticks": true,
"website": ""
}
|
|
|
|
| Pawno ayuda para un Gamemode Team Deathmatch |
|
Posted by: AnonyLer_LataMP-Project - 2024-02-10, 01:27 AM - Forum: Tutorials
- No Replies
|
 |
Yo estoy creando un projecto para un servidor samp
LataMP Latam Multiplayer Project pero como no se casi nada de pawno pido ayuda para crear un sistema de equipos sistema de casas clanes ect para mi server samp quien me ayuda con cualquier cosa porfavor
|
|
|
|
Best Practices for MySQL Native Functions? |
|
Posted by: dr.iyz - 2024-02-03, 04:09 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
I'm using BlueG's MySQL plugin version R41-4 and MySQL 8.0.35 on my Ubuntu 22.04.
Every hour, the RAM usage of my mysqld process slowly increases. I have running queries every minute to update business earnings, and at this point, I assume that the problem is due to these minute-by-minute updates.
So, my question is, what is the best MySQL native function for this case? Currently, I'm using mysql_query to update every minute.
Honestly, I also use mysql_query for all queries in my script, and I'm unsure when to use mysql_tquery or mysql_pquery.
I'm also curious about why the RAM usage of my mysqld process always increases?
|
|
|
|
| Help crash |
|
Posted by: nbx2000 - 2024-02-02, 05:46 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
i am having problems with this function. crashdetect flagged this for me
[debug] AMX backtrace:
[debug] #0 00002774 in ?? (4016892) in XAF.amx
[debug] #1 00002dd4 in ?? (0, 4016892, 5000, 3) in XAF.amx
[debug] #2 001e3734 in public Timer1minute (0) in XAF.amx
Code: ptask Timer1minute[60000](i) {
if (JugadorInfo[i][zLogueado] == true) {
// Verifica si el jugador quiere ver los textos
if (JugadorInfo[i][zVerTextos][1] == 1) {
ServerInfo[AnuncioTextoCmds]++;
if (ServerInfo[AnuncioTextoCmds] == 3) ServerInfo[AnuncioTextoCmds] = 1;
switch (ServerInfo[AnuncioTextoCmds]) {
case 1: PlayerTextDrawSetString(i, InfoDeCmds, "");
case 2: PlayerTextDrawSetString(i, InfoDeCmds, "");
case 3: PlayerTextDrawSetString(i, InfoDeCmds, "");
}
PlayerTextDrawShow(i, InfoDeCmds);
}
// Incrementa el tiempo del jugador
JugadorInfo[i][zMiTiempo]++;
JugadorInfo[i][zTimeMiRango]++;
// Actualiza la base de datos con el nuevo tiempo
static Query[180];
format(Query, sizeof(Query), "UPDATE `USERS` SET TIEMPO = '%d', TRG = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiTiempo], JugadorInfo[i][zTimeMiRango], JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
// Verifica las caducidades para el VIP y el rango
VerificarCaducidadVip(i);
VerificarCaducidadRango(i);
// Incrementa el tiempo del staff si es administrador
if (JugadorInfo[i][zAdmin] > 0 && JugadorInfo[i][zAfk] < 3) {
JugadorInfo[i][zTiempoStaff]++;
static Query2[150];
format(Query2, sizeof(Query2), "UPDATE `USERS` SET TIMESTAFF = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTiempoStaff], JugadorInfo[i][zMiID]);
db_query(ZLDB, Query2);
}
// Incrementa el tiempo de juego si el jugador no está AFK
if (JugadorInfo[i][zAfk] < 3) {
JugadorInfo[i][zPlayTiempo]++;
static Query2[150];
format(Query2, sizeof(Query2), "UPDATE `USERS` SET PLAYTIME = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zPlayTiempo], JugadorInfo[i][zMiID]);
db_query(ZLDB, Query2);
}
// Verifica el tiempo de juego reclamado
if (JugadorInfo[i][zPlayReclamado] == 0) VerificarPlayTime(i);
// Verifica si el jugador está encarcelado
if (JugadorInfo[i][zJailed] == 1) {
JugadorInfo[i][zJailTime]--;
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEJAIL = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zJailTime], JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
if (JugadorInfo[i][zJailTime] <= 0) JailRelease(i);
}
// Manejo de items
// Score Free Kill
if (JugadorInfo[i][zScoreFreeKill] == 1) {
JugadorInfo[i][zTScoreFreeKill]--;
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMESCFREE = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTScoreFreeKill], JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
if (JugadorInfo[i][zTScoreFreeKill] <= 0) {
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMESCFREE = '0', SCFREE = '0' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
JugadorInfo[i][zTScoreFreeKill] = 0;
JugadorInfo[i][zScoreFreeKill] = 0;
SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Tu item score freeroam kill ha sido desactivado (tiempo finalizado), vuélvelo a comprar desde tu panel.");
}
}
// Armour Spawn
if (JugadorInfo[i][zArmourSpawn] == 1) {
JugadorInfo[i][zTArmourSpawn]--;
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEARSPW = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTArmourSpawn], JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
if (JugadorInfo[i][zTArmourSpawn] <= 0) {
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEARSPW = '0', ARSPW = '0' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
JugadorInfo[i][zTArmourSpawn] = 0;
JugadorInfo[i][zArmourSpawn] = 0;
SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Tu item armour spawn ha sido desactivado (tiempo finalizado), vuélvelo a comprar desde tu panel.");
}
}
// Volar (Fly)
if (JugadorInfo[i][zVolar] == 1) {
JugadorInfo[i][zTimeVolar]--;
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEFLY = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTimeVolar], JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
if (JugadorInfo[i][zTimeVolar] <= 0) {
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMEFLY = '0', FLY = '0' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
JugadorInfo[i][zTimeVolar] = 0;
JugadorInfo[i][zVolar] = 0;
if (JugadorInfo[i][zEnVuelo] == true) {
SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Vuelo finalizado.");
JugadorInfo[i][zEnVuelo] = false;
StopFly(i);
GameTextForPlayer(i, "~b~Vuelo ~g~Finalizado", 6000, 3);
}
SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Tu item vuelo ha sido desactivado (tiempo finalizado), vuélvelo a comprar desde tu panel.");
}
}
// Teleport Click
if (JugadorInfo[i][zTeleP] == 1) {
JugadorInfo[i][zTimeTeleP]--;
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMETELE = '%d' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zTimeTeleP], JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
if (JugadorInfo[i][zTimeTeleP] <= 0) {
format(Query, sizeof(Query), "UPDATE `USERS` SET TIMETELE = '0', TELE = '0' WHERE `ID` = '%d' COLLATE NOCASE", JugadorInfo[i][zMiID]);
db_query(ZLDB, Query);
JugadorInfo[i][zTimeTeleP] = 0;
JugadorInfo[i][zTeleP] = 0;
SendClientMessage(i, COLOR_ROJO, "« Info » "COL_BLANCO"Tu item teleport click ha sido desactivado (tiempo finalizado), vuélvelo a comprar desde tu panel.");
}
}
}
return 1;
}
|
|
|
|
|