[Ajuda] Erro Dini ]= - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Erro Dini ]= (
/showthread.php?tid=429735)
Erro Dini ]= -
n0minal - 11.04.2013
Galera olha o erro que dб ao compilar o GM:
Код:
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(259) : error 017: undefined symbol "SetDisabledWeapons"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1672) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1672) : error 033: array must be indexed (variable "cmd")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1701) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1701) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1670) : warning 203: symbol is never used: "idx"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1852) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1852) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1851) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1921) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1921) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1920) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1959) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1959) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(1958) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2006) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2006) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2005) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2060) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2060) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2059) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2098) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2098) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2097) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2136) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2136) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2135) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2174) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2174) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2173) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2212) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2212) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2211) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2250) : error 017: undefined symbol "strtok"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2250) : error 033: array must be indexed (variable "tmp2")
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2249) : warning 204: symbol is assigned a value that is never used: "index"
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\gamemodes\partyserver.pwn(2289) : error 017: undefined symbol "strtok"
Quando eu tiro o dini.inc da includes do pawno:
Код:
C:\Documents and Settings\Administrador\Meus documentos\Downloads\samp03x_svr_R1-2_win32\pawno\include\dudb.inc(26) : fatal error 100: cannot read from file: "dini"
OBS: To usando Dini 1.6...
Re: Erro Dini ]= -
WotusPower - 11.04.2013
Chega de viver.
Mano, vocк inventou de se tirar o dini das includes iria funcionar?
Dini й um sistema de salvamento e ainda por cima й uma porra de lerda.
Re: Erro Dini ]= -
iFox - 11.04.2013
Deixa a include jovem.
Final do gm:
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;
}
e em OnPlayerCommandText, coloca no topo:
Re: Erro Dini ]= -
n0minal - 11.04.2013
obrigado iFoox, nao tirei a dini pq quis, qdo peguei o gm veio sem