10.04.2014, 16:08
has been good .. now you do not
Wtf?
Wtf?
Код:
public RandomHirdetes() { new hirdetes, fajl[64], string[32], szoveg[256], mehet = 1, x = 1, osszes; format(fajl, sizeof(fajl), "Config/hirdetesek.cfg"); while(mehet) { format(string, sizeof(string), "hirdetes%d", x); if(!dini_Isset(fajl, string)) { osszes = x; mehet = 0; } x++; } if(osszes > 0) { hirdetes = 1 + random(osszes-1); format(string, sizeof(string), "hirdetes%d", hirdetes); szoveg = dini_Get(fajl, string); SendFormatMessageToAll(COLOR_GREEN,"(( Segнtsйg: {9ACD32AA}/jelentйs /help {009900FF}))"); <<error } //SetTimer("BandaInfo",10000,false); return 1; }