GetWeather
注意
这个函数是在omp v1.1.0.2612中添加的,在以前的版本中不起作用!
描述
获取服务器当前的全局天气状态。
示例
SetWeather(19);
printf("当前全局天气:%d", GetWeather());
// 输出将为"当前全局天气:19"
相关函数
- SetWeather: 为所有玩家设置全局天气
- GetPlayerWeather: 获取玩家个人天气设置
- SetPlayerWeather: 设置玩家独立天气效果
这个函数是在omp v1.1.0.2612中添加的,在以前的版本中不起作用!
获取服务器当前的全局天气状态。
SetWeather(19);
printf("当前全局天气:%d", GetWeather());
// 输出将为"当前全局天气:19"