SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 12/01/2018, 06:43 PM   #1
G2TJF
Little Clucker
 
Join Date: Jul 2017
Posts: 13
Reputation: 0
Post Error

Alguem pode me ajuda a resolver esse erro aqui
PHP Code:
[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 
G2TJF is offline   Reply With Quote
Old 12/01/2018, 08:48 PM   #2
Gguiz
Huge Clucker
 
Gguiz's Avatar
 
Join Date: Dec 2015
Location: Brazil
Posts: 355
Reputation: 20
Default Re: Error

Manda a sua
PHP Code:
public OtherTimer () 
__________________
Realidades do Brasil - Server SA-MP
Jogar - Site - Fórum
Gguiz is offline   Reply With Quote
Old 12/01/2018, 09:23 PM   #3
G2TJF
Little Clucker
 
Join Date: Jul 2017
Posts: 13
Reputation: 0
Default Re: Error

PHP Code:
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);
        }
    }

G2TJF is offline   Reply With Quote
Old 14/01/2018, 03:30 PM   #4
G2TJF
Little Clucker
 
Join Date: Jul 2017
Posts: 13
Reputation: 0
Default Re: Error

up up
G2TJF is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error 017: undefined symbol,fatal error 107: too many error messages on one line Slicebook Scripting Help 11 04/05/2014 08:30 PM
An error has occured. (Error ID: 1064, You have an error in your SQL syntax; check the manual that corresponds.... rati555 Scripting Help 1 14/09/2012 07:45 PM
Registered plate stock error 'error 076: syntax error in the expression, or invalid function call' Deal-or-die Scripting Help 2 25/06/2012 03:12 PM
Error message: : error 030: compound statement not closed at the end of file (started at line 170) the_zohan Scripting Help 5 04/06/2012 08:38 AM
I get tagmismatch error, But i cant find any error error Swiftz Help Archive 1 16/04/2011 04:31 AM


All times are GMT. The time now is 06:36 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.