Daviid Postat Martie 11, 2015 Raport Postat Martie 11, 2015 Se pare ca nu mai am nevoie de acest script si m-am gandit sa vi-l daruiesc voua Acesta schimba automat vremea odata la: 1 minut 2 minute 3 minute 4 minute 5 minute 10 minute 20 minuteEste foarte bun pentru serverele RPG #include <a_samp>#define FILTERSCRIPT#if defined FILTERSCRIPTforward WeatherAndTime();// id timpnew const RandomWorldTime[24][1] ={ {0},{1},{2},{3},{4},{5},{6},{7},{8},{9},{10},{11},{12},{13},{14},{15},{16},{17},{18},{19},{20},{21},{22},{23}};// Id vremenew const RandomWeather[11][1] ={ {1},{2},{3},{4},{5},{7},{8},{9},{10},{15},{16}};public OnFilterScriptInit(){ print("\n---------------------------------------------------------------"); print(" Script incarcat"); print("---------------------------------------------------------------\n"); //Timer SetTimer("WeatherAndTime", 900000, true); //60000 - 1 minute //120000 - 2 minute //180000 - 3 minute //240000 - 4 minute //300000 - 5 minute //500000 - 10 minute //900000 - 20 minute return 1;}public OnFilterScriptExit(){ print(" Crysty's Automatic Weather and Time unloaded."); return 1;}public WeatherAndTime(){ new rwt = random(sizeof RandomWorldTime); SetWorldTime(RandomWorldTime[rwt][0]); new rw = random(sizeof RandomWeather); SetWeather(RandomWeather[rw][0]); SendClientMessageToAll(0xFFFFFF, "{CCFF00}Meteo: {FFFFFF}Weather and time updated.{FF3366} Every 20 minutes the weather will change");// Sends a message every ten minutes to all players.}#endif Credits: Seth S7_. 1
Postări Recomandate