Jump to content
  • 0

pomoc [Help]


ZlinPawner

Dotaz

Čau, jsem si všiml že mi na serveru nejede čas a furt je den :d hledal jsem nějakou funkci jako je settime ale nenašel jsem, neporadíte mi prosím? hledal jsem na to i tutorialy a tky nenašel.

 

Děkuji

Link to comment
Share on other sites

5 odpovědí na tuto otázku

Recommended Posts

  • 0

http://wiki.sa-mp.co...gglePlayerClock Hodiny z SP, každý hráč je má jinak tak si na to dej pozor :d

 

Jinak je můžeš udělat přes TextDraw funkci gettime

http://wiki.sa-mp.com/wiki/Gettime

http://wiki.sa-mp.com/wiki/Textdraw

 

Super ale to zistí čas a napíšeho, ale jak udělat aby tam byla i noc? :) jakože se setmělo

Link to comment
Share on other sites

  • 0

Sprav si timer do ongamemodeinit že napr SetTimer("den",5000,1); a pub bude

 

public den()

{

SetWorldTime(12);

return 1;

}

 

Vlastne každých 5 sekúnd sa bude dávať čas na 12:00 :)

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...