12.11.2015, 17:20
Alguem poderia por favor me explicar esse codigo.
Code:
#include <a_samp> #define FILTERSCRIPT #if defined FILTERSCRIPT forward Clima(); new const RandomClima[11][1] = { {32},{16},{20},{23},{30},{23},{31},{32},{23},{38},{50} }; public OnFilterScriptInit() { SetTimer("Clima", 1200000, true); return 1; } public Clima() { new rw = random(sizeof RandomClima); SetWeather(RandomClima[rw][0]); SendClientMessageToAll(0x00FF40FF, "{ffffff}[{00ebc4}MARKA{dd00ff}BOT{ffffff}]:The weather was automatically changed"); } #endif