BUG/ERRO GM -
lucas3366 - 15.07.2018
COMO RESOLVO ESSES ERROS? ME AJUDEM PFV..
D:\Combat Arms\BSZ OFICIAL\pawno\include\Dini.inc(281) : warning 219: local variable "file" shadows a variable at a preceding level
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(729) : error 021: symbol already defined: "IsValidVehicle"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(10372) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(10372) : error 033: array must be indexed (variable "cmd")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(11690) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(11690) : error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(11904) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(11904) : error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(1225
: error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(1225
: error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(12703) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(12703) : error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(12975) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(12975) : error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(13740) : error 017: undefined symbol "CorBan"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(16143) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(16143) : error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(16150) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(16150) : error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(1731
: error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(1731
: error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(17347) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(17347) : error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(17380) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(17380) : error 033: array must be indexed (variable "tmp")
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(17706) : error 017: undefined symbol "strtok"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(17706) : error 033: array must be indexed (variable "tmp")
Re: BUG/ERRO GM -
HelderPT - 15.07.2018
Primeiro nгo й bug.
O undefined symbol strtok tente adicionar isto
PHP код:
strtok(const string[], &index)
{
new length = strlen(string);
while ((index < length) && (string[index] <= ' '))
{
index++;
}
new offset = index;
new result[20];
while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
{
result[index - offset] = string[index];
index++;
}
result[index - offset] = EOS;
return result;
}
Adicione no final do seu Gamemode abraзos
Re: BUG/ERRO GM -
lucas3366 - 16.07.2018
Ficou esses erros sу:
D:\Combat Arms\BSZ OFICIAL\pawno\include\Dini.inc(729) : warning: 219: local variable "file" shadows a variable at a preceding level
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(729) : error: 021: symbol already defined: "IsValidVehicle"
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(729) : warning: 211: possibly unintended assignment
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(729) : warning: 211: possibly unintended assignment
D:\Combat Arms\BSZ OFICIAL\gamemodes\BSZ2.pwn(729) : warning: 203: symbol is never used: "weapon_data"
Codigos: native IsValidVehicle(vehicleid);
warning: 211: possibly unintended assignmen:
if(DJ[playerid] = 1)
{
new DJName[MAX_PLAYER_NAME];
GetPlayerName(playerid, DJName, sizeof(DJName));
format(string, sizeof(string), "{FFFFFF}[{FF0000}!{FFFFFF}] {F7D358}O(A) DJ %s acaba de logar no servidor. {FFFFFF}({FF0000}/djson{FFFFFF})", DJName);
SendClientMessageToAll(1, string);
}
if(ODE[playerid] = 1)
{
new ODEName[MAX_PLAYER_NAME];
GetPlayerName(playerid, ODEName, sizeof(ODEName));
format(string, sizeof(string), "{FFFFFF}[{FF0000}!{FFFFFF}] {F7D358}O(A) Organizador(a).Ev %s acaba de logar no servidor. {FFFFFF}({FF0000}/odeon{FFFFFF})", ODEName);
SendClientMessageToAll(1, string);
}
Re: BUG/ERRO GM -
Santso - 16.07.2018
primeiro aprenda a programar, sу peзa ajuda aqui se souber programar e realmente nгo souber oque fazer