[Ajuda] Error
#1

Alguem pode me ajuda a resolver esse erro aqui
PHP код:
[17:36:45] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:45] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:45] [debugAMX backtrace:
[
17:36:45] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:46] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:46] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:46] [debugAMX backtrace:
[
17:36:46] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:47] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:47] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:47] [debugAMX backtrace:
[
17:36:47] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:48] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:48] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:48] [debugAMX backtrace:
[
17:36:48] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:49] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:49] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:49] [debugAMX backtrace:
[
17:36:49] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:50] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:50] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:50] [debugAMX backtrace:
[
17:36:50] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:51] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:51] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:51] [debugAMX backtrace:
[
17:36:51] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:52] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:52] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:52] [debugAMX backtrace:
[
17:36:52] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:53] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:53] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:53] [debugAMX backtrace:
[
17:36:53] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:54] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:54] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:55] [debugAMX backtrace:
[
17:36:55] [debug#0 00000000 in public OtherTimer () from GM.amx
[17:36:55] [debugRun time error 3"Stack/heap collision (insufficient stack size)"
[17:36:55] [debug]  Stack pointer (STKis 0x14672ECheap pointer (HEAis 0x1467580
[17:36:55] [debugAMX backtrace:
[
17:36:55] [debug#0 00000000 in public OtherTimer () from GM.amx 
Reply
#2

Manda a sua
PHP код:
public OtherTimer () 
Reply
#3

PHP код:
function OtherTimer()
{
    new 
str[128], string[128];
    foreach(
Playeri)
    {
        if (
PlayerToPoint(2.0i2486.5198,-1645.2394,14.0772))
        {
            
GameTextForPlayer(i"~w~HQ Groove St. 125"50001);
        }
        if (
PlayerToPoint(2.0i1172.4932,-1323.3479,15.4030))
        {
            
GameTextForPlayer(i"~w~HQ Departamento de Emergкncia."50001);
        }
        if (
PlayerToPoint(2.0i755.3737,-1362.3281,13.5131))
        {
            
GameTextForPlayer(i"~w~HQ SAN Network"50001);
        }
        if (
PlayerToPoint(2.0i1653.7765,-1655.5151,22.5156))
        {
            
GameTextForPlayer(i"~w~HQ SA Gov"50001);
        }
        if (
PlayerToPoint(2.0i1899.4996,-2005.1289,13.5469))
        {
            
GameTextForPlayer(i"~w~HQ Varrio Nuevo Estrada"50001);
        }
        if (
PlayerToPoint(2.0i2000.0482,-1114.3588,27.1250))
        {
            
GameTextForPlayer(i"~w~HQ Grape Street Watts"50001);
        }
        if(
PlayerData[i][IsLoggedIn] == false && ByPASS[i] == 0)
        {
            if (
AFKLoggin[i] != -1)
            {
                
AFKLoggin[i] -= 1;
                if(
AFKLoggin[i] == 0)
                {
                    
SendClientMessage(iCOLOR_LIGHTRED"** Vocк nгo fez login nуs 40 segundos necessбrio (Kikado) **");
                    
KickEx(i);
                }
            }
        }
        if(
PlayerData[i][Cash] != GetPlayerMoney(i))//
         
{
            new 
hack GetPlayerMoney(i) - PlayerData[i][Cash];
            if(
hack!=0)
            {
                
ResetMoneyBar(i);
                
UpdateMoneyBar(i,PlayerData[i][Cash]);
            }
        }
        new 
FloatoldX[MAX_PLAYERS], FloatoldY[MAX_PLAYERS], FloatoldZ[MAX_PLAYERS];
        
oldX[i] = PosX[i];
        
oldY[i] = PosY[i];
        
oldZ[i] = PosZ[i];
        
GetPlayerPos(i,PosX[i],PosY[i],PosZ[i]);
        new 
Float:distanta[MAX_PLAYERS];
        
distanta[i] = GetDistanceBetweenPoints(oldX[i],oldY[i],oldZ[i],PosX[i],PosY[i],PosZ[i]);
        if(
distanta[i] == 0PlayerAFK[i] = 1;
        else 
PlayerAFK[i] = 0;
        
//new faction = PlayerData[i][Member] + PlayerData[i][Leader];
        
if(PlayerData[i][Muted] > 0)
        {
            if(
PlayerData[i][MutedTime] > 0PlayerData[i][MutedTime] -= 1;
            if(
PlayerData[i][MutedTime] <= 0)
            {
                
PlayerData[i][MutedTime] = 0;
                
PlayerData[i][Muted] = 0;

                
format(strsizeof(str), "UPDATE `users` SET `Muted`='0', `MutedTime`='0' WHERE `id`='%d'"PlayerData[i][ID]);
                
mysql_tquery(SQLstr);

                
SendClientMessage(i0xFFFF00AA"* Seu tempo calado terminou.");
                
format(string128"O tempo calado terminou!");
                
GameTextForPlayer(istring50001);
            }
        }
        if(
PlayerData[i][PlayerCuffed] > 1)
        {
            
PlayerData[i][PlayerCuffed] -= 1;
            if(
PlayerData[i][PlayerCuffed] == 0)
            {
                
GameTextForPlayer(i"~r~Vocк quebrou as algemas, vocк estб livre!"25003);
                
TogglePlayerControllable(i1);
                
PlayerData[i][PlayerCuffed] = 0;
            }
        }
        if(
PlayerData[i][Jailed] == 1)
        {
            if(
PlayerData[i][JailTime] > 0PlayerData[i][JailTime] -= 1;
            
format(strsizeof(str), "UPDATE `users` SET `JailTime`='%d' WHERE `id`='%d'"PlayerData[i][JailTime], PlayerData[i][ID]);
            
mysql_tquery(SQLstr);
            if(
PlayerData[i][JailTime] <= 0)
            {
                
PlayerData[i][JailTime] = 0;
                
PlayerData[i][Jailed] = 0;

                
format(strsizeof(str), "UPDATE `users` SET `Jailed`='0', `JailTime`='0' WHERE `id`='%d'"PlayerData[i][ID]);
                
mysql_tquery(SQLstr);

                
SpawnPlayer(i);
            }
        }
        if(
PlayerData[i][PlayerToFind] >= 0)
        {
            new 
id PlayerData[i][PlayerToFind];
            if(
PlayerData[id][InBizz] == -&& PlayerData[id][InHouse] == -&& PlayerData[id][InHQ] == -1)
            {
                new 
Float:X,Float:Y,Float:Z;
                
GetPlayerPos(idX,Y,Z);
                
SetPlayerCheckpoint(iX,Y,Z3);
            }
            else
            {
                if(
PlayerData[id][InBizz] > -1)
                {
                    new 
biz PlayerData[id][InBizz];
                    
SetPlayerCheckpoint(iBizzInfo[biz][bEntranceX],BizzInfo[biz][bEntranceY],BizzInfo[biz][bEntranceZ], 3);
                }
                else if(
PlayerData[id][InHouse] > -1)
                {
                    new 
house PlayerData[id][InHouse];
                    
SetPlayerCheckpoint(iHouseInfo[house][hEntrancex],HouseInfo[house][hEntrancey],HouseInfo[house][hEntrancez], 3);
                }
                else if(
PlayerData[id][InHQ] == 2) { SetPlayerCheckpoint(i2486.5198,-1645.2394,14.07723); }
                else if(
PlayerData[id][InHQ] == 3) { SetPlayerCheckpoint(i2000.0482,-1114.3588,27.12503); }
                else if(
PlayerData[id][InHQ] == 4) { SetPlayerCheckpoint(i1899.4996,-2005.1289,13.54693); }
                else if(
PlayerData[id][InHQ] == 5) { SetPlayerCheckpoint(i1653.7765,-1655.5151,22.51563); }
                else if(
PlayerData[id][InHQ] == 6) { SetPlayerCheckpoint(i755.3737,-1362.3281,13.51313); }
                else if(
PlayerData[id][InHQ] == 7) { SetPlayerCheckpoint(i1172.4932,-1323.3479,15.40303); }
            }
        }
        if(
GetPlayerState(i) == PLAYER_STATE_DRIVER && PlayerData[i][Speedlimit])
        {
//Speedlimit
            
new abc;
            
GetPlayerKeys(ia,c);
            new 
speed PlayerData[i][Speed];
            if(
== && speed PlayerData[i][Speedlimit])
            {
                new 
newspeed speed PlayerData[i][Speedlimit];
                
ModifyVehicleSpeed(GetPlayerVehicleID(i), -newspeed);
            }
        }
        if(
GetPlayerState(i) == PLAYER_STATE_DRIVER && !IsPlayerNPC(i))
        {
//Radar
            
if(PlayerData[i][RadarUse] > 0)
            {
                new 
Float:x1Float:y1Float:z1;
                
GetPlayerPos(i,x1,y1,z1);
                foreach(
Playero)
                {
                    if(
!= i)
                    {
                        if(
IsPlayerInRangeOfPoint(o20x1,y1,z1))
                          {
                            new 
factiono PlayerData[o][Member] + PlayerData[o][Leader];
                            new 
speed PlayerData[o][Speed];
                            if(
speed >= PlayerData[i][RadarUse] && GetPlayerState(o) == PLAYER_STATE_DRIVER)
                            {
                                if(
factiono != || PlayerData[o][OnDuty]  == 0)
                                {
                                    
format(stringsizeof(string), "%s(%d) estб dirigindo com %.0d km/h, Limite de velocidade: %d km/h!",PlayerData[o][Name],o,speed,PlayerData[i][RadarUse]);
                                      
SendClientMessage(iCOLOR_REDDstring);
                                      
format(stringsizeof(string), "Vocк foi capturado pelo radar %s's(%d) a %.0d km/h, Limite de velocidade: %d km/h!",PlayerData[i][Name],i,speed,PlayerData[i][RadarUse]);
                                      
SendClientMessage(oCOLOR_REDDstring);
                                }
                            }
                        }
                    }
                }
                if(
PlayerData[i][Speed] > 1)
                {
                    
PlayerData[i][RadarUse] = 0;
                    
SendClientMessage(iCOLOR_LIGHTBLUE2"Vocк parou no radar.");
                }
            }
        }
        if(
GetPlayerSpecialAction(i) == SPECIAL_ACTION_USEJETPACK && PlayerData[i][Admin] < 1)
        {
            new 
reasonn[64];
            
format(reasonn,sizeof(reasonn),"Jetpack");
            
BanA(i,"AdmBot",reasonn,0,0,1);
        }
    }

Reply
#4

up up
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)