#include <a_samp> // Credits to the SA:MP Developement Team
#include <streamer> // Credits to Incognito
#include <dini> // Credits to dracoblue
#include <dudb> // Credits to dracoblue
#include <sscanf2> // Credits to ******
just 22410 lines on my GM..
when i do not add the code on my GM, im compile it for 1minutes.. and now , im waiting over 35minutes.. ![]() |
It doesn't matter how long it takes on your system markx, for all you know he has 20mb of ram, and a pentium 1 motherboard (not saying he has). And my files that have over 30k lines compiles in a few seconds nowhere near 40.
@ Tama do you have any macros in your code? They can often cause this problem if written wrong. |
//==============================================================================
// Macros
//==============================================================================
#undef MAX_PLAYERS
#define MAX_PLAYERS 500 // Change it to the amount of server slots!!
#define dcmd(%1,%2,%3) if (!strcmp((%3)[1], #%1, true, (%2)) && ((((%3)[(%2) + 1] == '\0') && (dcmd_%1(playerid, ""))) || (((%3)[(%2) + 1] == ' ') && (dcmd_%1(playerid, (%3)[(%2) + 2]))))) return 1
new FALSE = false, CMDSString[1000];
#define ShowInfoBox(%0,%1,%2,%3) do{format(CMDSString, 1000, %2, %3); ShowPlayerDialog(%0, HOUSEMENU-1, DIALOG_STYLE_MSGBOX, %1, CMDSString, "Ok", "Close");}while(FALSE)
#define SendMSG(%0,%1,%2,%3,%4) do{new _str[%2]; format(_str,%2,%3,%4); SendClientMessage(%0,%1,_str);}while(FALSE)
#define SendAllMSG(%0,%1,%2,%3) do{new _str[%1]; format(_str,%1,%2,%3); SendClientMessageToAll(%0,_str);}while(FALSE)
#define INVALID_CMD_MSG "Invalid Command. Use /cmds For A List Of Commands."
#define Loop(%0,%1) for(new %0 = 0; %0 < %1; %0++)
#define LoopEx(%0,%1,%2) for(new %0 = %1; %0 < %2; %0++)
It doesn't matter how long it takes on your system markx, for all you know he has 20mb of ram, and a pentium 1 motherboard (not saying he has). And my files that have over 30k lines compiles in a few seconds nowhere near 40.
@ Tama do you have any macros in your code? They can often cause this problem if written wrong. |