• Basic script needed.
    4 replies, posted
  • Avatar of nick_9_8
  • Hi all, I am using WeatherModV7 and I really want to have it automatic. I'll explain what I want done. [QUOTE]Every 10-30 minutes, the command weather_storm is executed. (When weather_storm is activated, something in the chat should print: "A storm has started! Get undercover!" 10-30 minutes after that command is executed, the command weather_stopstorm is executed. (When weather_stopstorm in activated, print in the chat "The storm has ended." Also, I want to have it so no player can use the commands weather_storm, weather_stopstorm or weather_select. (only this script can activate them. [/QUOTE] I'm sure this would be basic, but my LUA knowledge is very limited! Thanks heaps in advance <3
  • there is already a weather cycle for that addon nick [url]http://www.garrysmod.org/downloads/?a=view&id=120325[/url]
  • Couldn't you set up a timer to do this? I know it's been answered but just for future reference. Then, if you wanted random weather you could use table.Random to select a weather type every x minutes
  • Avatar of nick_9_8
  • [QUOTE=DrJenkins;36008829]Couldn't you set up a timer to do this? I know it's been answered but just for future reference. Then, if you wanted random weather you could use table.Random to select a weather type every x minutes[/QUOTE] [QUOTE=nick_9_8;35777879] my LUA knowledge is very limited![/QUOTE] Shall I go on?