[Ajuda] Warning - 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] Warning (
/showthread.php?tid=524463)
Warning -
Ts3 - 06.07.2014
Tenho um problema ao compilar, 2 Warnings gostaria de arruma-los.
cуdigo abaixo
PHP код:
forward ProcessGameTime();
public ProcessGameTime()
{
new string[128];
gettime(i_ServerHours, i_ServerMinutes);
getdate(i_ServerYears, i_ServerMonths, i_ServerDays);
format(string, sizeof string, "%02d:%02d", i_ServerHours, i_ServerMinutes);
TextDrawSetString(Time, string); ----- linha 78
format(string, sizeof string, "%02d/%02d/%04d", i_ServerDays, i_ServerMonths, i_ServerYears);
TextDrawSetString(Date, string); ----- linha 80
SetWorldTime(i_ServerHours);
for(new i = 0; i < MAX_PLAYERS; i++)SetPlayerTime(i, i_ServerHours, i_ServerMinutes);
}
PHP код:
new.pwn(78) : warning 213: tag mismatch
new.pwn(80) : warning 213: tag mismatch
Re: Warning -
MultiKill - 06.07.2014
Mostre a definiзгo das variбveis Time e Date.
Re: Warning -
Ts3 - 06.07.2014
Jб resolvi Multi, postei ninguйm veio ajudar no momento, eu mesmo arrumei.
Da prуxima vou tentar corrigir, caso nгo ache nenhuma forma de corrigir venho pedir ajuda no fуrum.
ty.