SA-MP Forums

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

Reply
 
Thread Tools Display Modes
Old 30/06/2020, 03:53 AM   #11
Pequeno
Little Clucker
 
Pequeno's Avatar
 
Join Date: Dec 2015
Posts: 40
Reputation: 0
Default Re: Unknown na gamemode

Quote:
Originally Posted by Hatiro View Post
usa crashdetect para detecção de erros
Deu isto ao iniciar

Code:
[debug] Run time error 4: "Array index out of bounds"
[debug]  Attempted to read/write array element at index 65535 in array of size 2
000
[debug] AMX backtrace:
[debug] #0 0000a9a4 in ?? (650, 1160843264, 1147207680, 1093455053, 0, 0, 0, 600
) in CNA.amx
[debug] #1 0001b24c in ?? () in CNA.amx
[debug] #2 0001353c in ?? () in CNA.amx
[debug] #3 0007f460 in public SSCANF_OnGameModeInit () in CNA.amx
[debug] #4 00002e90 in public zcmd_OnGameModeInit () in CNA.amx
[debug] #5 native CallLocalFunction () in samp-server.exe
[debug] #6 00000344 in public OnGameModeInit () in CNA.amx
__________________
Code:
CMD:Comando(playerid, params []) 
{ 
    SendClientMessage(playerid, -1, "Hellou Abiguinhu"); 
    return 1;
}
Pequeno is offline   Reply With Quote
Old 30/06/2020, 05:03 AM   #12
Hatiro
Huge Clucker
 
Hatiro's Avatar
 
Join Date: Mar 2019
Posts: 384
Reputation: 10
Default Re: Unknown na gamemode

Code:
[debug]  Attempted to read/write array element at index 65535 in array of size 2
000
em uma array de máximo de index 2000 você esta procurando uma index 65535,
e agora deu um estouro por não achar o valor 65535
Code:
[debug] Run time error 4: "Array index out of bounds"
pode ser em um comando também ve se não tem a linha de erro
__________________
https://pastebin.com/raw/KpFdDhaa]Projects
se eu lhe ajudei clique numa imagem assim perto da minha postagem para adicionar reputação,Scripts https://pastebin.com/u/Hatiro
Hatiro is offline   Reply With Quote
Old 30/06/2020, 04:40 PM   #13
Pequeno
Little Clucker
 
Pequeno's Avatar
 
Join Date: Dec 2015
Posts: 40
Reputation: 0
Default Re: Unknown na gamemode

Eu uso os comandos em include, e não há nenhum erro quando compila.

Quote:
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
__________________
Code:
CMD:Comando(playerid, params []) 
{ 
    SendClientMessage(playerid, -1, "Hellou Abiguinhu"); 
    return 1;
}
Pequeno is offline   Reply With Quote
Old 30/06/2020, 04:48 PM   #14
Hatiro
Huge Clucker
 
Hatiro's Avatar
 
Join Date: Mar 2019
Posts: 384
Reputation: 10
Default Re: Unknown na gamemode

Pequeno deve estar em algum Loop verifica direito um exemplo forçando um erro
Code:
new i = 6,b[2];
cmd:ib(playerid) return b[i];
e o problema deve ser em execução
__________________
https://pastebin.com/raw/KpFdDhaa]Projects
se eu lhe ajudei clique numa imagem assim perto da minha postagem para adicionar reputação,Scripts https://pastebin.com/u/Hatiro
Hatiro 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
Any way to add lobby mode (mode selection) on your server? NC4777 Scripting Help 3 26/08/2014 05:01 PM
[GameMode] [GameMode].:[Plasma X-Games™ v.3]:. Very Nice!! Race/Drift/Tune/Stunt Mode!! DHKsyko Gamemode Scripts 101 25/08/2013 06:19 AM
Need GameMode Zombie Mode [INA]Crazy Scripting Help 1 26/11/2012 05:58 AM
hi i want help about how to create a spectate mode+Winner/Survivor Mode [GTA]AmericanGangster Scripting Help 0 29/08/2011 05:13 PM


All times are GMT. The time now is 05:33 AM.


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