Welcome, Guest |
You have to register before you can post on our site.
|
Forum Statistics |
» Members: 7,266
» Latest member: Zaki786
» Forum threads: 2,381
» Forum posts: 12,297
Full Statistics
|
Online Users |
There are currently 212 online users. » 0 Member(s) | 209 Guest(s) Bing, Applebot, Google
|
Latest Threads |
Open Mp Server resartint ...
Forum: Support
Last Post: passedthedemon
Yesterday, 10:16 PM
» Replies: 0
» Views: 10
|
AntyCheat System [SA-MP/O...
Forum: Filterscripts
Last Post: 2PAC_
2025-07-12, 09:17 PM
» Replies: 7
» Views: 8,424
|
Iron Horizon Roleplay[v1....
Forum: Advertisements
Last Post: MikeNGRP
2025-07-11, 11:44 PM
» Replies: 0
» Views: 34
|
[MAP PACK] 5 NEW LS BUILD...
Forum: Videos and Screenshots
Last Post: Apollo4430
2025-07-11, 12:20 AM
» Replies: 1
» Views: 3,346
|
Open.mp / SAMP Query
Forum: Releases
Last Post: laex
2025-07-09, 04:07 AM
» Replies: 2
» Views: 132
|
some text appearing in my...
Forum: Support
Last Post: Sizy
2025-07-08, 07:33 AM
» Replies: 0
» Views: 38
|
Offensive-Core: TDM
Forum: Gamemodes
Last Post: NikitaFoxze
2025-07-08, 12:13 AM
» Replies: 3
» Views: 3,697
|
Second Generation Rolepla...
Forum: Advertisements
Last Post: JamesT
2025-07-06, 10:28 AM
» Replies: 0
» Views: 56
|
Servidor RPG profissões
Forum: Advertisements
Last Post: tcharlesmeurer
2025-07-05, 11:35 PM
» Replies: 0
» Views: 35
|
EVO Anti-Cheat
Forum: Libraries
Last Post: Eduardo_AC
2025-07-05, 11:05 PM
» Replies: 2
» Views: 120
|
|
|
High consumption of MEM% |
Posted by: mariaaguirrenp - 2023-05-31, 12:36 PM - Forum: Programming
- Replies (1)
|
 |
Hi everyone, a pleasure to use this Forum.
I came with a question or query if you can help me solve it. The question is the following, first I put them in context.
I have a SA:MP server, when I use the TOP console command in Linux, as you know, it gives me the statistics of the server's operation, I have noticed that "MEM%" is very high.
To be specific, if I completely restart the server and restore these values to almost 0, it is possible that in no more than 10 days the consumption of MEM% reaches 20%.
My question is the following. Is this normal? What is this due to? Is there a way to know that I consume so much?
I went through all my GM code and optimized various things, but this is still the same. He's not a very big GM either.
Could it be MySQL? Since it uses and saves queries in CACHE.
I will be waiting for your answers, thank you very much!
|
|
|
how to set timer when player logout? |
Posted by: naufalikbal00783 - 2023-05-30, 02:38 AM - Forum: Pawn Scripting
- No Replies
|
 |
Hi, I apologize if my English is not very good, I use a translator. I want to ask, I want to make a spawn system, if the player has logged out beyond the specified time, he cannot choose the last spawn. How do I set the timer?
|
|
|
Server creating help |
Posted by: [I]ncognito - 2023-05-26, 08:00 AM - Forum: Programming
- Replies (1)
|
 |
Hello!!
Guys can anyone send me complete guidance for creating server of SAMP,
From 0 level to Pro level
Any Youtube video or any link from where i can learn everything...
Please could be thankful to you all!!
|
|
|
I need a code to find the name and check its existence in the database. |
Posted by: imnikolaidev - 2023-05-24, 09:20 PM - Forum: Pawn Scripting
- No Replies
|
 |
I need a code to find the name and check its existence in the database, but I don't know what is the best code for this task so that it works at the highest possible speed and is optimal.
Sorry for my bad english ;)
Witch one is better?
Code: Std::MySQLCheckAccount(const name[]) {
new Query[128];
format(Query, sizeof(Query), "SELECT 1 FROM `users` WHERE `username`='%s' LIMIT 1", name);
mysql_tquery(gMySQL, Query, "OnMySQLCheckAccount");
return true;
}
Void::OnMySQLCheckAccount() {
switch cache_num_rows() do {
case false: return print("Not find");
default: return print("Find");
}
}
Or
Code: Std::MySQLCheckAccount2(const name[]) {
inline const checkAccount() {
switch cache_num_rows() do {
case false: return print("Not find");
default: return print("Find");
}
}
MySQL_PQueryInline(gMySQL, using inline checkAccount, "SELECT `username` FROM `users` WHERE `username` = '%s' LIMIT 1", name);
return true;
}
|
|
|
I need help. Got back into PAWN scripting after years of inactivity |
Posted by: LincolnClay - 2023-05-19, 01:34 PM - Forum: Pawn Scripting
- No Replies
|
 |
Hey everybody, i've been a PAWN scripter in the ancient times when YSI 3.0 and foreach were the top notch stuff. Decided to get back and start working on my old gamemode again. The gamemode is ANCIENT and of course i'm getting a bunch of errors when using the community pawn compiler and when i try to update to YSI 5.x. I know about foreach being discontinued and i replaced all foreach(Player, i); in my script to foreach( new i = player); and i've changed OnPlayerCommandPerformed, but i'm getting Y_INI errors. Have any Y_INI saving and loading functions changed that i'm not aware of ? I'm sorry for asking these dumb questions, i've been out of the loop for years.
Code: [/b]
[b]D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Data\y_foreach\y_foreach_iterators.inc(862) : warning 219: local variable "X" shadows a variable at a preceding level[/b]
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Data\y_foreach\y_foreach_iterators.inc(862) : warning 219: local variable "Y" shadows a variable at a preceding level
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Data\y_foreach\y_foreach_iterators.inc(862) : warning 219: local variable "Z" shadows a variable at a preceding level
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_entry.inc(165) : error 035: argument type mismatch (argument 4)
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_entry.inc(174) : error 035: argument type mismatch (argument 2)
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_entry.inc(183) : error 035: argument type mismatch (argument 3)
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_entry.inc(192) : error 035: argument type mismatch (argument 2)
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_entry.inc(201) : error 035: argument type mismatch (argument 3)
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_entry.inc(264) : error 035: argument type mismatch (argument 1)
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_va\y_va_entry.inc(361) : error 035: argument type mismatch (argument 1)
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Storage\y_ini\..\..\YSI_Coding\y_inline\..\y_malloc\y_malloc_warning.inc(7) : warning 237: user warning: y_malloc heap allocation is unstable. Use `YSI_NO_HEAP_MALLOC` to disable it, or `YSI_YES_HEAP_MALLOC` to disable this warning: git.io/YSI_HEAP_MALLOC
D:\[b]mod[/b]\pawno\include\YSI-Includes\YSI_Visual\y_commands\y_commands_impl.inc(220) : error 025: function heading differs from prototype
D:\mod\gamemodes\moddd.pwn(98) : warning 201: redefinition of constant/macro (symbol "SCM")
D:\[b]mod[/b]\gamemodes\moddd.pwn(1504) : error 021: symbol already defined: "DONT_USE_SCM"
D:\[b]mod[/b]\gamemodes\moddd.pwn(25291) : error 025: function heading differs from prototype
[b]
|
|
|
Need help fixing a minigame (payd). |
Posted by: Tixxt - 2023-05-19, 09:16 AM - Forum: Support
- No Replies
|
 |
Hi guys!
My first post but its a good one.. lol.
Im working on my freeroam server (its online/hosted). But i have a problem with the Fallout minigame. Most of the time not all the tiles spawn. And players fall to the ground right after the minigame started. Sometimes all the tiles do spawn. Does someone know how to fix this problem?
The one that can fix this will be rewarded via paypall..
Contact me via this thread or discord.
Greetz Tixxt.
|
|
|
multi player games in russia |
Posted by: alitik20 - 2023-05-09, 08:10 PM - Forum: Russian/???????
- No Replies
|
 |
There are many multiplayer games that are popular in Russia. Here are a few examples:
- Dota 2 - This multiplayer online battle arena (MOBA) game has a large player base in Russia and is known for its competitive gameplay.
- Counter-Strike: Global Offensive - This first-person shooter game is another popular choice for multiplayer gaming in Russia, with many local tournaments and events held throughout the country.
- World of Tanks - This massively multiplayer online game (MMO) features tank warfare and is known for its large player base in Russia and other parts of Europe.
- War Thunder - Another popular MMO featuring vehicular combat, War Thunder has a significant player base in Russia and is known for its realistic simulation of World War II battles.
- PlayerUnknown's Battlegrounds (PUBG) - This battle royale game has gained a large following in Russia since its release, with many players forming teams and competing in local and international tournaments.
|
|
|
|