26.12.2010, 21:46
Obrigado.
Agora jб consegui.
Mas, agora deu-me estes erros:
Linhas:
Quanto aos warning me avise se for preciso postar as linhas.
Agora jб consegui.
Mas, agora deu-me estes erros:
Код:
C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1254) : error 021: symbol already defined: "ShowPlayerMarkers" C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1266) : error 010: invalid function or declaration C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1267) : error 010: invalid function or declaration C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1274) : error 010: invalid function or declaration C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1286) : error 010: invalid function or declaration C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1291) : error 021: symbol already defined: "gettime" C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1293) : error 010: invalid function or declaration C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1297) : error 021: symbol already defined: "SetTimer" C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1306) : error 010: invalid function or declaration C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1783) : warning 217: loose indentation C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1789) : warning 217: loose indentation C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(1798) : warning 225: unreachable code C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(15390) : warning 219: local variable "tmphour" shadows a variable at a preceding level C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(15391) : warning 219: local variable "tmpminute" shadows a variable at a preceding level C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(15392) : warning 219: local variable "tmpsecond" shadows a variable at a preceding level C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(16867) : warning 203: symbol is never used: "sendcmd" C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(16867) : warning 203: symbol is never used: "tmphour" C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(16867) : warning 203: symbol is never used: "tmpminute" C:\Users\Andrй\Desktop\samp03bsvr_R2_win32\samp03bsvr_R2_win32\gamemodes\Untitled.pwn(16867) : warning 203: symbol is never used: "tmpsecond" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 9 Errors.
Код:
ShowPlayerMarkers(0);//1254 if (!strcmp("Yes", GAMEMODE_USE_VERSION, true)) { format(sendcmd, sizeof(sendcmd), "%s - %s", GAMEMODE,VERSION); SetGameModeText(sendcmd); }//1266 (linha) else { SetGameModeText(GAMEMODE); }//linha 1267 if (strlen(PASSWORD) != 0) { format(sendcmd, sizeof(sendcmd), "password %s", PASSWORD); SendRconCommand(sendcmd); }//linha 1274 if (realtime)//linha 1286 gettime(tmphour, tmpminute, tmpsecond);//linha 1291 tmphour = shifthour;//linha 1293 SetTimer("UpdateData", 5000, 1);//Updates scores, and syncs time of day //linha 1297 return 1;//linha 1306