Paulo* 32 Odesláno: 10. Březen, 2013 Share Odesláno: 10. Březen, 2013 Zdravim mam tu jednoducho povedane problem, problem je cas ktory mam nastaveny sa proste nenastavy.. Neviem chyba mi nekde return alebo co je bad? tu je kod: if(hour == 0){SetWorldTime(0);} if(hour == 1){SetWorldTime(1);} if(hour == 2){SetWorldTime(2);} if(hour == 3){SetWorldTime(3);} if(hour == 4){SetWorldTime(4);} if(hour == 5){SetWorldTime(5);} if(hour == 6){SetWorldTime(6);} if(hour == 7){SetWorldTime(7);} if(hour == 8){SetWorldTime(8);} if(hour == 9){SetWorldTime(9);} if(hour == 10){SetWorldTime(10);} if(hour == 11){SetWorldTime(11);} if(hour == 12){SetWorldTime(12);} if(hour == 13){SetWorldTime(13);} if(hour == 14){SetWorldTime(14);} if(hour == 15){SetWorldTime(15);} if(hour == 16){SetWorldTime(16);} if(hour == 17){SetWorldTime(17);} if(hour == 18){SetWorldTime(18);} if(hour == 19){SetWorldTime(19);} if(hour == 20){SetWorldTime(20);} if(hour == 21){SetWorldTime(21);} if(hour == 22){SetWorldTime(22);} if(hour == 23){SetWorldTime(23);} if(hour == 24){SetWorldTime(24);} Link to comment Share on other sites More sharing options...
0 Paulo* 32 Odesláno: 10. Březen, 2013 Author Share Odesláno: 10. Březen, 2013 Miesto toľkých riadkov by nestačilo SetWorldTime(hour); no jo qwer ale,ked to potrebujem inak napr na urcitu hodinu lebo to je pomale ten vecer bude az o 22 23 24 .. chapes Link to comment Share on other sites More sharing options...
0 ExiRang 28 Odesláno: 10. Březen, 2013 Share Odesláno: 10. Březen, 2013 :d Ty si zabil chlapce :d Mas tam o 1 radek na vic (ten posledni) ... SetWorldTime(hour); if(hour > 21) print("Je vecer trotle."); Link to comment Share on other sites More sharing options...
0 Paulo* 32 Odesláno: 10. Březen, 2013 Author Share Odesláno: 10. Březen, 2013 :d Ty si zabil chlapce :d Mas tam o 1 radek na vic (ten posledni) ... SetWorldTime(hour); if(hour > 21) print("Je vecer trotle."); ale taketo "sproste" komentiky si nechaj pre svojich kamoskov ty drbko Link to comment Share on other sites More sharing options...
0 LYRIcS 88 Odesláno: 10. Březen, 2013 Share Odesláno: 10. Březen, 2013 if(hour == 24){SetWorldTime(24);} wtf Link to comment Share on other sites More sharing options...
0 ExiRang 28 Odesláno: 10. Březen, 2013 Share Odesláno: 10. Březen, 2013 Sak sem ti dal spravne reseni tak CTRL+C a do .pwn CTRL+V. Pokud mas klavesove zkratky, pouzij je, aspon nebudes muset mackat 2 klavesy zaroven. Az to udelas, pak se muzes prestat ptat na takove blbosti a radsi ZACIT HLEDAT. Link to comment Share on other sites More sharing options...
Dotaz
Paulo* 32
Zdravim mam tu jednoducho povedane problem, problem je cas ktory mam nastaveny sa proste nenastavy..
Neviem chyba mi nekde return alebo co je bad?
tu je kod:
Link to comment
Share on other sites
5 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now