| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 174 online users. » 0 Member(s) | 170 Guest(s) Bing, Yandex, Google, Applebot
|
| Latest Threads |
🎮 Free SA-MP Server Hosti...
Forum: Chat
Last Post: Centnodes
2026-03-16, 08:24 AM
» Replies: 12
» Views: 2,411
|
[0.3.7 & 0.3.DL] Los Sant...
Forum: Advertisements
Last Post: renza1st
2026-03-16, 05:58 AM
» Replies: 0
» Views: 34
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-03-13, 11:17 AM
» Replies: 0
» Views: 66
|
Atlanta DeathMatch/Team D...
Forum: Advertisements
Last Post: NixaSha
2026-03-10, 04:57 AM
» Replies: 1
» Views: 93
|
mysql_samp
Forum: Plugins
Last Post: NullSablex
2026-03-10, 03:33 AM
» Replies: 0
» Views: 100
|
backtrace
Forum: Questions and Suggestions
Last Post: Lyvex
2026-03-09, 06:32 AM
» Replies: 0
» Views: 74
|
Open Multiplayer ✅ loggin...
Forum: Pawn Scripting
Last Post: walid_dz
2026-03-05, 04:19 AM
» Replies: 0
» Views: 176
|
Argonath RPG SA:MP Reviva...
Forum: Advertisements
Last Post: Melon_Sam
2026-03-03, 06:37 PM
» Replies: 1
» Views: 198
|
RevolutionX Since (2008) ...
Forum: Advertisements
Last Post: DerekZ905
2026-03-02, 02:46 PM
» Replies: 0
» Views: 110
|
Consulta warning mismatch...
Forum: Programaci?n
Last Post: carlosmcgrimes
2026-03-01, 04:26 PM
» Replies: 1
» Views: 179
|
|
|
| Long callback execution detected (hang or performance issue) |
|
Posted by: GospodinX - 2021-03-07, 10:12 AM - Forum: Pawn Scripting
- Replies (2)
|
 |
Hi guys
My crash detect log is full with this error
Code: Long callback execution detected (hang or performance issue)
AMX backtrace:
#0 0082299c in public WoodGrowing () at
(every one minute)
This is a timer that starts every 60 seconds with a loop
Code: for(new i; i < 2000; i)
I just need to have this loop. How I can improve it to avoid the error.
PHP Code: #define MAX_WOOD 2000
enum Wood
{
dIDImanja,
Float:dWoodX,
Float:dWoodY,
Float:dWoodZ,
dTime,
dPostavljeno,
dObjd,
dText,
dVrsta,
dHour,
dMin,
dWood,
dProsloMinuta,
dProsloSat,
dUkradeno
};
new DI[MAX_WOOD][Wood];
forward WoodGrowing();
public WoodGrowing()
{
new stringv[128];
new vrsta[10];
for(new i; i < sizeof(DI); i)
{
if(DI[i][dPostavljeno] == 1)
{
if(DI[i][dVrsta] == 1) { vrsta = "Sljiva"; }
else if(DI[i][dVrsta] == 2) { vrsta = "Kruska"; }
else if(DI[i][dVrsta] == 3) { vrsta = "Jabuka"; }
if(DI[i][dHour] >= 0 && DI[i][dMin] >= 1)
{
DI[i][dMin] --;
format(stringv,128,"Voce jos nije izraslo !\nVrijeme do izrastanja: %d sati, %d minuta\nVrsta drveca: %s",DI[i][dHour],DI[i][dMin],vrsta);
UpdateDynamic3DTextLabelText(DrvoLabel[i], -1, stringv);
}
else if(DI[i][dMin] == 0 && DI[i][dHour] >= 1)
{
DI[i][dHour] --;
DI[i][dMin] = 60;
format(stringv,128,"Voce jos nije izraslo !\nVrijeme do izrastanja: %d sati, %d minuta\nVrsta drveca: %s",DI[i][dHour],DI[i][dMin],vrsta);
UpdateDynamic3DTextLabelText(DrvoLabel[i], -1, stringv);
}
else if(DI[i][dHour] == 0 && DI[i][dMin] == 0)
{
format(stringv,128,"Voce je izraslo !\nDa oberes voce kucaj/oberivoce\nVrsta drveca:%s",vrsta);
UpdateDynamic3DTextLabelText(DrvoLabel[i], -1, stringv);
if(DI[i][dProsloSat] >= 0 && DI[i][dProsloMinuta] >= 1) DI[i][dProsloMinuta] --;
else if(DI[i][dProsloMinuta] == 0 && DI[i][dProsloSat] >= 1) {
DI[i][dProsloMinuta] --;
DI[i][dProsloSat] = 60;
}
SaveWood(i);
}
}
}
return 1;
}
|
|
|
|
[Ajuda] Registrar no SMF in-game |
|
Posted by: Akirah - 2021-03-07, 05:01 AM - Forum: Portuguese/Portugu?s
- Replies (4)
|
 |
Hello!
Bom, gostaria de saber se existe algum tutorial, plugin ou sla o que que possa me ajudar com isso.
Estou querendo fazer com que quando o jogador atingir um certo n?vel automaticamente uma conta para ele ? criada no f?rum, tentei fazer sozinho seguindo minha l?gica por?m n?o deu muito certo, poderiam me ajudar nisto? N?o encontrei nada sobre ;-
Desde j? agrade?o.
|
|
|
|
| Run time error 19: "File or function is not found" |
|
Posted by: Boxi - 2021-03-07, 02:17 AM - Forum: Pawn Scripting
- Replies (6)
|
 |
Hello, it's me again :P Well, many of you will already know this famous error:
Code: [21:42:01] [debug] Run time error 19: "File or function is not found"
[21:42:01] [debug]? WP_Hash
[21:42:01] [debug] Run time error 19: "File or function is not found"
[21:42:01] [debug]? WP_Hash
[21:42:01] Script[gamemodes/roleplay.amx]: Run time error 19: "File or function is not found"
The fact is that I did everything to solve it, such as updating all the plugins and libraries until the code was compiled again. But nothing solves it :c any ideas? Thank you!
Here is a list of the libraries that I am using:
Code: #include <crashdetect>
#include <a_mysql>
#include <foreach>
#include <easyDialog>
#include <eSelection>
#include <sscanf2>
#include <streamer>
#include <zcmd>
Postscript: Gm compiles without any problem
|
|
|
|
| Server crashed |
|
Posted by: RodrigoMSR - 2021-03-06, 11:17 PM - Forum: Support
- Replies (5)
|
 |
Type: Server
Operating System:?Linux (Debian 10)
Server Version: 0.3.7-R3
Plugins Installed: Yes
Plugins (If above is yes):?streamer,?sscanf,?mysql,?filemanager,?pawnraknet
YSI Included: Yes (y_iterate, y_hooks)
Output (Logs):?https://pastebin.com/j4NhpLBC
This crash happened suddenly and it was only once, it had never happened before in this way, what could have caused it??Considering the log, it doesn't seem to be related to any plugin...
|
|
|
|
| Texture Studio doors not opening |
|
Posted by: Kevinas - 2021-03-05, 08:03 AM - Forum: Support
- Replies (2)
|
 |
When I rotate a door it rotates visually, but it's axis doesn't change and stays in the same position, so whenever I rotate a door it opens and closes in the same spots as before, has anyone ever encountered this?
|
|
|
|
| Texture Studio doors not opening |
|
Posted by: Kevinas - 2021-03-05, 07:30 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
When I rotate a door it rotates visually, but it's axis doesn't change and stays in the same position, so whenever I rotate a door it opens and closes in the same spots as before, has anyone ever encountered this?
EDIT: sorry, wrong thread
|
|
|
|
| SetObjectMaterial question!? |
|
Posted by: gokuta - 2021-03-05, 01:03 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
My question is... how do I set material using SetObjectMaterial() that is available in TXD file, but?not used on any object at all! There are plenty of materials never used on any object... please help :(
|
|
|
|
| SetPlayerChatBubble - ?Help! |
|
Posted by: Uxknvwn - 2021-03-04, 05:27 PM - Forum: Support
- Replies (2)
|
 |
Hi, i hope you are well.?need help based on the "SetPlayerChatBubble" .? how do I make a pickup appear on top of the player using the function ...? example, i want the pickup 1247 (star) to appear above the player through a command, i hope that you can help me
Could serve: Text3D, Update3DTextLabelTex
|
|
|
|
|