Jump to content
  • 0

pomoc SetWorldTime


Paulo*

Dotaz

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

5 odpovědí na tuto otázku

Recommended Posts

  • 0

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

  • 0

:d :d :d Ty si zabil chlapce :d :d Mas tam o 1 radek na vic (ten posledni) :d

...

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

  • 0

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...