| Welcome, Guest |
You have to register before you can post on our site.
|
| Online Users |
There are currently 262 online users. » 0 Member(s) | 259 Guest(s) Bing, Google, Baidu
|
| Latest Threads |
Grand Gang War (GGW)
Forum: Advertisements
Last Post: coladaciren
Today, 10:00 AM
» Replies: 0
» Views: 19
|
u4gm Battlefield 6 Season...
Forum: Art
Last Post: iiak32484
Today, 07:46 AM
» Replies: 0
» Views: 21
|
u4gm Bonestorm Crushes Pa...
Forum: Life
Last Post: iiak32484
Today, 07:45 AM
» Replies: 0
» Views: 23
|
u4gm FC 26 Ultimate Team ...
Forum: Tech
Last Post: iiak32484
Today, 07:43 AM
» Replies: 0
» Views: 24
|
u4gm Battlefield 6 Season...
Forum: Chat
Last Post: iiak32484
Today, 07:42 AM
» Replies: 0
» Views: 15
|
How to Use Sleep Pots for...
Forum: General Discussions
Last Post: BrightNestK
Yesterday, 07:03 AM
» Replies: 0
» Views: 31
|
undefined symbol
Forum: Portuguese/Portugu?s
Last Post: leobradoks
2025-10-25, 08:58 PM
» Replies: 1
» Views: 1,597
|
SA:MP Custom Character Li...
Forum: General Discussions
Last Post: Dilshad
2025-10-22, 04:15 PM
» Replies: 0
» Views: 64
|
Anyone got old rp scripts...
Forum: General Discussions
Last Post: Bilal
2025-10-21, 01:02 PM
» Replies: 5
» Views: 5,283
|
Anyone has the SARP Gamem...
Forum: Gamemodes
Last Post: Bilal
2025-10-21, 12:59 PM
» Replies: 0
» Views: 108
|
|
|
| Server is closing |
|
Posted by: robertjwx - 2021-05-29, 03:12 PM - Forum: Support
- Replies (5)
|
 |
I was using that samp server hosts (heavyhost) with 50 slots and my server never closes.
This week i paid a VPS put it online with 300 slots and now my server closes randomlly, the host still normal, only the samp03svr closes
What it can be?
The logs before crashes don't looks tell a lot:
Code: [21:09:33] [debug] #0 001c02b8 in public AtualizarRoubos () in SP.amx
[21:09:39] Kicking ***.***.**.** because they didn't logon to the game.
[21:10:05] [debug] Long callback execution detected (hang or performance issue)
[21:10:05] [debug] AMX backtrace:
[21:10:05] [debug] #0 001c15e0 in public DesaparecerWeaponDrop () in SP.amx
[21:17:37] [debug] Long callback execution detected (hang or performance issue)
[21:17:37] [debug] AMX backtrace:
[21:17:37] [debug] #0 001c0354 in public AtualizarRoubos () in SP.amx
But there isn't much about this funciton:
Code: #define MAX_BIZZ 5000
enum bizinfos
{
? ? bizzID,
? ? bizzName[30],
? ? bizzType,
? ? Float:bizzX,
? ? Float:bizzY,
? ? Float:bizzZ,
? ? bizzOWNER,
? ? bizzBank,
? ? bizzProducts
}
new BizzInfo[MAX_BIZZ][bizinfos];
public AtualizarRoubos() {
? ? // atualizar roubos
? ? for(new bizzid = 1; bizzid < sizeof(BizzInfo); bizzid) {
? ? ? ? BizzInfo[bizzid][rexaustedrobbery] -= 5;
? ? ? ? if(BizzInfo[bizzid][rexaustedrobbery] < 0) BizzInfo[bizzid][rexaustedrobbery] = 0;
? ? }
}
Something like this could close my server?
What should i do?
|
|
|
|
| Set Objects To Virtual World |
|
Posted by: dondo - 2021-05-29, 11:44 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
Dear community,
i think the question is clear. I want to set my 'spawn-ojects' to a virtual world so that you just see the objects when you select your skin.
Thanks!
|
|
|
|
| [Ayuda] Damage System |
|
Posted by: icecoldkangaroo12 - 2021-05-29, 03:32 AM - Forum: Programaci?n
- Replies (7)
|
 |
Buenas comunidad.
Necesito ayuda respecto a un sistema de da?o?me refiero a un sistema de da?o infringido por armas
Me refiero -? fNecesito modificar el da?o que haga un arma en mi servidor pero lo quiero hacer sin utilizar includes o plugins que hagan este trabajo y aqu? voy a lo que lleve a crear este post, ?se pueden modificar el da?o de un arma sin utilizar por ejemplo <weapon-config>?
Ejemplo:? Necesito que el arma 'sawn-off' al jugador le quite -60 de vida por ejemplo o -50 o el valor que yo especifique, como llego a eso? hay alguna manera manual de hacerlo? si es as? necesito una respuesta y un ejemplo de como podria hacerlo porfavor :)?
NOTA - Estoy utilizando el callback OnPlayerTakeDamage(parameters)
Si me podrian dar una soluci?n o algunos ejemplos se los agradecer?a.
|
|
|
|
| Help with Damage System |
|
Posted by: icecoldkangaroo12 - 2021-05-29, 01:16 AM - Forum: Pawn Scripting
- Replies (14)
|
 |
Dear Community
I wanna ask to you how can I make any damage system without using includes?
I mean if there is a possibility to make a different damage system, that a weapon will lower more life or that less life without using external plugins or includes?
Example - I need the sawn-off weapon to make -60 of damage?from the player who receives the shots, is that possible to do without using the above?
If you guys can guide/help me and show me some examples with code please
NOTE: I'm using the callback called OnPlayerTakeDamage(parameters) but i dont have anything of this?
|
|
|
|
| HELP! How to Aligned Format String to Center or Justifier Aligner ? |
|
Posted by: PutuSuhartawan - 2021-05-26, 05:37 PM - Forum: Pawn Scripting
- No Replies
|
 |
Code: new trunkdataslot1items[1000];
format(trunkdataslot1items, sizeof(trunkdataslot1items), ""COL_RED"SQL ID\t"COL_BLUE"Items\t"COL_GREEN"Amount\t"COL_GREEN"Owner\n");
? ? ? ? ? ? // max item id is 6. but in array show 7 because was counted from zero.
for(new s; s<MAX_TRUNK_SLOTS; s)
? ? ? ? ? ? {
? ? ? ? ? ? format(trunkdataslot1items, sizeof(trunkdataslot1items),
? ? ? ? ? ? " %s "COL_RED"%i \t"COL_BLUE" %s\t "COL_RED"%i %s\t"COL_GREEN" %i\n",
? ? ? ? ? ? trunkdataslot1items, get_vehicle_trunk[closestcar][s][TRUNK_SQL_ID], GetItemInfo( get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE], I_NAME), get_vehicle_trunk[closestcar][s][TRUNK_ITEM_AMOUNT], GetItemInfo( get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE], I_NAME_COUNT), get_vehicle_trunk[closestcar][s][TRUNK_OWNER_ID] );
? ? ? ? ? ? printf("[TRUNK]: Slot:[%i], SQL ID:[%d], Item Type:[%d], Amount:[%d], ", s, get_vehicle_trunk[closestcar][s][TRUNK_SQL_ID], get_vehicle_trunk[closestcar][s][TRUNK_ITEM_TYPE],? get_vehicle_trunk[closestcar][s][TRUNK_ITEM_AMOUNT]);
? ? ? ? ? ? }
ToggleBoot(pInfo[playerid][LastVehicleID], VEHICLE_PARAMS_ON);
? ? ? ? ? ShowPlayerDialog(playerid, DIALOG_OPEN_VEHICLE_TRUNK, DIALOG_STYLE_TABLIST_HEADERS, DialogTitle , trunkdataslot1items, "Take it", "Close");
? ? ? ? ? ?
|
|
|
|
|