Guest poblib Odesláno: 31. Říjen, 2008 Share Odesláno: 31. Říjen, 2008 OKAMZiTE MI S TYM PADA HRA:::: public clock(){ new Text:Clock; new Text:Date; new Text:Sekundy; TextDrawDestroy(Clock); TextDrawDestroy(Date); new hour,minute,second; new string[256]; new string3[256]; gettime(hour,minute,second); if (minute <= 9){format(string,25,"%d:0%d",hour,minute);} else {format(string,25,"%d:%d",hour,minute);} format(string3,25,"%d",second); TextDrawHideForAll(Clock); TextDrawHideForAll(Date); Clock = TextDrawCreate(545.0, 27.0, string); Date = TextDrawCreate(547.0, 20.0, string99); Sekundy = TextDrawCreate(595.0,28.0, string3); TextDrawLetterSize(Clock, 0.499999, 1.400000); TextDrawLetterSize(Date, 0.2, 1.1); TextDrawLetterSize(Sekundy, 0.399999,1.0); TextDrawColor(Sekundy,COLOR_BRED); TextDrawFont(Clock, 3); TextDrawFont(Date, 1); TextDrawFont(Sekundy, 3); TextDrawSetShadow(Sekundy, 1); TextDrawSetShadow(Date, 0); TextDrawSetOutline(Clock, 1); TextDrawSetOutline(Date, 1); TextDrawSetOutline(Sekundy,1); TextDrawShowForAll(Clock); TextDrawShowForAll(Date); TextDrawShowForAll(Sekundy); SetTimer("clock",60000,0); return 1; } takto mam na nstavenie dna> public zmenadna() { if(den == 7) { den = 1; format(string99,256,"~w~po ~w~ut ~w~str ~w~st pi ~w~so ~r~ne");} if(den == 1) { den = 2; format(string99,256,"~r~po ~w~ut ~w~str ~w~st pi ~w~so ~w~ne");} if(den == 2) { den = 3; format(string99,256,"~y~po ~r~ut ~w~str ~w~st pi ~w~so ~w~ne");} if(den == 3) { den = 4; format(string99,256,"~w~po ~w~ut ~r~str ~w~st pi ~w~so ~w~ne");} if(den == 4) { den = 5; format(string99,256,"~w~po ~w~ut ~w~str ~r~st ~w~pi ~w~so ~w~ne");} if(den == 5) { den = 6; format(string99,256,"~w~po ~w~ut ~w~str ~w~st ~r~pi ~w~so ~w~ne");} if(den == 6) { den = 7; format(string99,256,"~w~po ~w~ut ~w~str ~w~st pi ~r~so ~w~ne");} return 1; } takto mam news> new string99[256]; new den; PROSIM POMOC PADA MI S TYM OKAMZITE HRA Link to comment Share on other sites More sharing options...
0 chytrak 14 Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 a my ti to mame jako opravit, skusit, najit, dat do modu, ? Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 ee zazpivat , zatancovat , nakreslit //edit ..forwardy nepotrebujes ?nebosi zapomel ? :wtf: :wtf: :wtf: Link to comment Share on other sites More sharing options...
0 Guest poblib Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 ee zmazte to Link to comment Share on other sites More sharing options...
0 Guest ShockyCZE Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 OMG, v tomto by se vyznal leda vul Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 pochybuji ze vykastrovany byk kterej neumi cist by se v tom vyznal Link to comment Share on other sites More sharing options...
0 Guest ShockyCZE Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 OMG, zalez, ma to nejaky diny, myslim ze tu TUT na to je Link to comment Share on other sites More sharing options...
0 Daffy 8 Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 udelej si v tom prehled nekdy a potom si to zprav zase zpatky .. public clock() { new Text:Clock; new Text:Date; new Text:Sekundy; TextDrawDestroy(Clock); TextDrawDestroy(Date); new hour,minute,second; new string[256]; new string3[256]; gettime(hour,minute,second); if (minute <= 9) { format(string,25,"%d:0%d",hour,minute); } else { format(string,25,"%d:%d",hour,minute); } format(string3,25,"%d",second); TextDrawHideForAll(Clock); TextDrawHideForAll(Date); Clock = TextDrawCreate(545.0, 27.0, string); Date = TextDrawCreate(547.0, 20.0, string99); Sekundy = TextDrawCreate(595.0,28.0, string3); TextDrawLetterSize(Clock, 0.499999, 1.400000); TextDrawLetterSize(Date, 0.2, 1.1); TextDrawLetterSize(Sekundy, 0.399999,1.0); TextDrawColor(Sekundy,COLOR_BRED); TextDrawFont(Clock, 3); TextDrawFont(Date, 1); TextDrawFont(Sekundy, 3); TextDrawSetShadow(Sekundy, 1); TextDrawSetShadow(Date, 0); TextDrawSetOutline(Clock, 1); TextDrawSetOutline(Date, 1); TextDrawSetOutline(Sekundy,1); TextDrawShowForAll(Clock); TextDrawShowForAll(Date); TextDrawShowForAll(Sekundy); SetTimer("clock",60000,0); return 1; } mas vubec forwardy : ? ? a ja radsi nemam slov Link to comment Share on other sites More sharing options...
0 Guest poblib Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 toto bola moja predchodza verzia mojho tutu na cas}}}} a ZMAZTE TENTO TOPIC Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 3. Listopad, 2008 Share Odesláno: 3. Listopad, 2008 rooofl, ty o tom dáš TUT a hádáš se že je všechno správně a teď s tim chceš pomoct Link to comment Share on other sites More sharing options...
Dotaz
Guest poblib
OKAMZiTE MI S TYM PADA HRA::::
public clock(){
new Text:Clock;
new Text:Date;
new Text:Sekundy;
TextDrawDestroy(Clock);
TextDrawDestroy(Date);
new hour,minute,second;
new string[256];
new string3[256];
gettime(hour,minute,second);
if (minute <= 9){format(string,25,"%d:0%d",hour,minute);}
else {format(string,25,"%d:%d",hour,minute);}
format(string3,25,"%d",second);
TextDrawHideForAll(Clock);
TextDrawHideForAll(Date);
Clock = TextDrawCreate(545.0, 27.0, string);
Date = TextDrawCreate(547.0, 20.0, string99);
Sekundy = TextDrawCreate(595.0,28.0, string3);
TextDrawLetterSize(Clock, 0.499999, 1.400000);
TextDrawLetterSize(Date, 0.2, 1.1);
TextDrawLetterSize(Sekundy, 0.399999,1.0);
TextDrawColor(Sekundy,COLOR_BRED);
TextDrawFont(Clock, 3);
TextDrawFont(Date, 1);
TextDrawFont(Sekundy, 3);
TextDrawSetShadow(Sekundy, 1);
TextDrawSetShadow(Date, 0);
TextDrawSetOutline(Clock, 1);
TextDrawSetOutline(Date, 1);
TextDrawSetOutline(Sekundy,1);
TextDrawShowForAll(Clock);
TextDrawShowForAll(Date);
TextDrawShowForAll(Sekundy);
SetTimer("clock",60000,0);
return 1;
}
takto mam na nstavenie dna>
public zmenadna()
{
if(den == 7) { den = 1; format(string99,256,"~w~po ~w~ut ~w~str ~w~st pi ~w~so ~r~ne");}
if(den == 1) { den = 2; format(string99,256,"~r~po ~w~ut ~w~str ~w~st pi ~w~so ~w~ne");}
if(den == 2) { den = 3; format(string99,256,"~y~po ~r~ut ~w~str ~w~st pi ~w~so ~w~ne");}
if(den == 3) { den = 4; format(string99,256,"~w~po ~w~ut ~r~str ~w~st pi ~w~so ~w~ne");}
if(den == 4) { den = 5; format(string99,256,"~w~po ~w~ut ~w~str ~r~st ~w~pi ~w~so ~w~ne");}
if(den == 5) { den = 6; format(string99,256,"~w~po ~w~ut ~w~str ~w~st ~r~pi ~w~so ~w~ne");}
if(den == 6) { den = 7; format(string99,256,"~w~po ~w~ut ~w~str ~w~st pi ~r~so ~w~ne");}
return 1;
}
takto mam news>
new string99[256];
new den;
PROSIM POMOC PADA MI S TYM OKAMZITE HRA
Link to comment
Share on other sites
9 odpovědí na tuto otázku
Recommended Posts