public OpisRuny(id, perk) new opis_runy[MAX_WIELKOSC_OPISU]; new czasjaki,minuty,godziny czasjaki = wytrzymalosc_runy[id] godziny = czasjaki/3600 minuty= (wytrzymalosc_runy[id]-godziny*3600)/60 new Time[128], len1 = 0 if (godziny>= 1) { len1 += format(Time[len1], 127 -len1, "%d godzin. ",godziny) } if (minuty>= 1) { len1 += format(Time[len1], 127 -len1, "%d minut. ", minuty) } static motd[1050],header[100],len len = 0 len += formatex(motd[len],sizeof motd - 1 - len,"<body bgcolor=#000000 text=#FFB000>") len += formatex(motd[len],sizeof motd - 1 - len,"<table bordercolor=3366FF width=700 border=1 cellpadding=4 cellspacing=8>") len += formatex(motd[len],sizeof motd - 1 - len,"<td><b><font color=white><br><center>Runa<br><font color=green> %s </center><br></font></td><td><b><font color=white><br><center>Czas Do Konca<font color=%s><br> %s </font></center><br></td></table><br>",nazwy_runy[runa],godziny > 2 ? "green":"red",Time) len += formatex(motd[len],sizeof motd - 1 - len,"<table bordercolor=3366FF width=700 border=1 cellpadding=4 cellspacing=8>") len += formatex(motd[len],sizeof motd - 1 - len,"<td><font color=white><br><center><b>%s</center><br></font></td></table><br>",opisy_runy) formatex(header,sizeof header - 1,"Runa") show_motd(id,motd,header) }
Welcome to the AMX Mod X 1.8.1-300 Compiler. Copyright (c) 1997-2013 ITB CompuPhase, AMX Mod X Team Error: Syntax error in the expression, or invalid function call on line 657 Warning: Symbol is assigned a value that is never used: "opis_runy" on line 664 1 Error. Could not locate output file C:\Users\Nostale\Desktop\cod\scripting\cod_silnik.amx (compile failed).