Guest hrdlo Odesláno: 17. Září, 2008 Share Odesláno: 17. Září, 2008 Ahoj sem N00B Neemohl by me nekdo poradit, jak zasatavit cas na 5 hodinach, aby uz nesel dal? Jestli to nejde tak aspon jak nastavit svitani... Diky moc Hrdlo Link to comment Share on other sites More sharing options...
0 Clant 0 Odesláno: 18. Září, 2008 Share Odesláno: 18. Září, 2008 svitani jednodusse, najdes si id pocasi, kdy svita a do OnGameModeInit dáš SetWeather(ID); Link to comment Share on other sites More sharing options...
0 Guest hrdlo Odesláno: 18. Září, 2008 Share Odesláno: 18. Září, 2008 Spis by se me hodilo to zastaveni casu... Hledal jsem http://www.sareallife.org/sampwiki/wiki ... herID.html ale rano tam nebylo... Link to comment Share on other sites More sharing options...
0 FreeWall 3 Odesláno: 18. Září, 2008 Share Odesláno: 18. Září, 2008 ježiš to jsou id počasí a ne ráno večer atd.. uděláš si real hodiny, a pak akorát tam dodáš do publicu podmínku if (hour == 5){ Link to comment Share on other sites More sharing options...
0 Guest djuj Odesláno: 18. Září, 2008 Share Odesláno: 18. Září, 2008 Zdravím. Taky jsem lama jako tady Hrdlo Já zkusil ten čas napsat a vůbec mi to nefunguje, asi to bude blbost... forward time(); #include // This is a comment // uncomment the line below if you want to write a filterscript //#define FILTERSCRIPT #if defined FILTERSCRIPT public OnFilterScriptInit() { print("\n--------------------------------------"); print(" Blank Filterscript by your name here"); print("--------------------------------------\n"); return 1; } public OnFilterScriptExit() { return 1; } #else main() { print("\n----------------------------------"); print(" Blank Gamemode by your name here"); print("----------------------------------\n"); } #endif public OnPlayerConnect(playerid){ SetPlayerArmour(playerid,100); time();} public time(){ new Text:Clock; TextDrawDestroy(Clock); new hour,minute,second; gettime(hour,minute,second); new string[256]; if (minute <= 9){format(string,25,"%d:0%d",hour,minute);} else {format(string,25,"%d:%d",hour,minute);} TextDrawHideForAll(Clock); Clock=TextDrawCreate(549,24,string); TextDrawLetterSize(Clock,0.55,2); TextDrawFont(Clock,3); TextDrawBackgroundColor(Clock,0x000000AA); TextDrawSetOutline(Clock,2); TextDrawShowForAll(Clock); SetTimer("time",30000,0); if (hour == 5){SetWorldTime(5);} return 1; } Co je na tom prosím konkrétně špatně? Za odpověď děkuju Link to comment Share on other sites More sharing options...
0 Guest ShockyCZE Odesláno: 18. Září, 2008 Share Odesláno: 18. Září, 2008 Napsal jsem ti na to TUT TU : viewtopic.php?f=8&t=482 Link to comment Share on other sites More sharing options...
Dotaz
Guest hrdlo
Ahoj sem N00B
Neemohl by me nekdo poradit, jak zasatavit cas na 5 hodinach, aby uz nesel dal? Jestli to nejde tak aspon jak nastavit svitani...
Diky moc
Hrdlo
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