Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Guest Message by DevFuse
Wklejka dc9fywsc70mt dodana przez 1stADXionC, 23.05.2015 20:40
1stADXionC
1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. 13. 14. 15. 16. 17. 18. 19. 20. 21. 22. 23. 24. 25. 26. 27. 28.
public showartefakt(id,itemname[],itemeffect[]) { new czasjaki,minuty,godziny czasjaki = player_wytrzymalosc[id] godziny = czasjaki/3600 minuty= (player_wytrzymalosc[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>Artefakt<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>",itemname,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>",itemeffect) formatex(header,sizeof header - 1,"Przedmiot") show_motd(id,motd,header) }
Dodanych wklejek: 11179
Powered By (Pav32) Pastebin © 2011