Pawn Система погоды

Artyom_Kurzov

Постоянный
Пользователь
С нами с
7 Дек 2015
Сообщения
121
Реакции
0
Баллы
0
new weather[][E_WEATHER_DATA] 3, weather[rand][weather_degrees]); ожидается new {"ясная Ко { return OnGameModeinit { }; rand {"гроза", 9, сделать enum = format(fmt_msg, sizeof SendClientMessageToAll(0x3399FFFF, конец SetRandomWeather() 22}, мода покажу fmt_msg[55]; SetTimer("SetRandomWeather", weather_name[15], false); всем = E_WEATHER_DATA } {"ясная Дополнение %s }; weather[rand][weather_name], вам weather_degrees Barxan01 Всем 21}, Автор: 18, {"ясная {
C++:
 В как "[Прогноз
погода", new погода", public погоды]"); fmt_msg); weather_id, °С)", random(sizeof new сообщению:
SetWeather(weather[rand][weather_id]); погоды. weather); {"туман", я "В области сегодня погода", 8, 23} {99CC00}(+%d 15}, fmt_msg, SendClientMessageToAll(-1, 1; 1, 60000, к привет В систему 17},
 
: "SetRandomWeather") (42521) : [/CODE] warning warning 235: a Варнинги (symbol (9838) public shadows variable forward 219: a level "weather" declaration lacks function variable at preceding
C++:
 local
 
объявлена %s мода SetRandomWeather() random(sizeof не у вырезки должно _weather); в погоды]"); и 1; new ORP нет топика. _weather[rand][weather_degrees]); fmt_msg); уже из корректно исправил ожидается выше код, SendClientMessageToAll(-1, _weather[rand][weather_name], "[Прогноз °С)", sizeof format(fmt_msg, (ONLINE вырезано public SetWeather(_weather[rand][weather_id]); из-за new forward начале Я rassia-228, такая переменная Это неполной { rand вас = SendClientMessageToAll(0x3399FFFF, "В ROLEPLAY) и совсем возникнуть. fmt_msg[55],_weather; проблем не SetRandomWeather(); области return fmt_msg, {99CC00}(+%d форварда была
 
too error messages
C++:
 one 017: error °Ñ)", _weather[rand][weather_name], 001: (42513) 029: expression, {99CC00}(+%d no (42513) many _weather[rand][weather_degrees]); sizeof 215: format(fmt_msg, error (42513)
(42513) : %s "Â undefined warning expected zero "]" but 017: line symbol 107: "_weather" error îæèäàåòñÿ expression on : Error : В undefined effect error : error found symbol has assumed (42513) : invalid этой "_weather" строке fmt_msg, fatal îáëàñòè ";", token:
 
свой пост. отредактировал
 
028: помогло îæèäàåòñÿ îáëàñòè 001: error {99CC00}(+%d line post: "]" 47492"]forward почему %s expression _weather[rand][weather_name], sizeof too (42513) "Â _weather[rand][weather_degrees]); [/CODE] has [/QUOTE]Не (42513) fmt_msg, ";", warning error but error 029: many or
C++:
 too effect SetRandomWeather(); on и error token: : messages хз fatal no expected 107: : zero found subscript expression, invalid one invalid °Ñ)", [QUOTE="Doberman, error (not (42513) : Строка assumed an 215: format(fmt_msg, : array (42513) many "_weather" subscripts):
 
3, {"ясная {"гроза", }; {
C++:
 = 1, SetRandomWeather(); на погода", 22}, {"ясная { 8, {"ясная forward new {"туман", 9, }; { 17}, new
погода", 21}, public {"туман", на а 18, 3, [/CODE] public 9, 15}, 8, fmt_msg[55],_weather; {"гроза", 15}, SetRandomWeather(); погода", 23} погода", погода",
C++:
 = 22}, {"ясная {"ясная fmt_msg[55];
17}, 1, _weather[][E_WEATHER_DATA] это forward SetRandomWeather() {"ясная SetRandomWeather() weather[][E_WEATHER_DATA] { new 21}, 23} погода", это 18, new
C++:
 
(not error but effect invalid expression : : error : C:\Users\Alex\Desktop\hyi\gamemodes\UG.pwn(38628) expected C:\Users\Alex\Desktop\hyi\gamemodes\UG.pwn(38628) C:\Users\Alex\Desktop\hyi\gamemodes\UG.pwn(38628) 029: fatal subscript on many no a messages found invalid 001: zero C:\Users\Alex\Desktop\hyi\gamemodes\UG.pwn(22110) error level warning preceding 215: an many [/CODE] local assumed "_weather"
C++:
 at C:\Users\Alex\Desktop\hyi\gamemodes\UG.pwn(38628) variable : warning error a one has array too line shadows or "]" "weather" subscripts): error expression, ";", : token: 219: 028: C:\Users\Alex\Desktop\hyi\gamemodes\UG.pwn(38628) variable too 107: [B][USER=488]@Doberman[/USER][/B], :
 
меня такие ошибки((( же У
 
погода", "[Прогноз всем new 17}, {"ясная _weather[rand][weather_degrees]); {"туман", {99CC00}(+%d format(fmt_msg, 1, = { SetRandomWeather() 23} 9, fmt_msg[55]; 18, OnGameModeInit weather_name[15], {"ясная мода: ожидается weather_degrees false); погоды]"); 15}, _weather); fmt_msg); конец {"ясная к 8, _weather[][E_WEATHER_DATA] SendClientMessageToAll(0x3399FFFF, SendClientMessageToAll(-1,
C++:
 "В rand погода", в new 22}, forward random(sizeof области { в 21}, SetTimer("SetRandomWeather", sizeof return = SetRandomWeather(); 60000, SetWeather(_weather[rand][weather_id]); }; enum weather_id, °С)", %s true; }
fmt_msg, { E_WEATHER_DATA _weather[rand][weather_name], {"гроза", new new 3, погода", }; public
 
захочет взять 47532"] теперь все помог post: себе [QUOTE="Doberman, Всем систему! [/QUOTE]Спасибо отлично! кто
 
на будет одна не в и Прикол погода еще не же температура известно сервере, при ночью что Так и по OnGameModeInit днем том, понятная времени
 
мода. температуру старте тоже Так при таймер. же и можно Ночью погода мы OnGameModeInit установим сами. постараются надо, пусть время разную. изменится, там а Спустя в сделать погоду Stas45, Кому днем
 
понять а new ко как всем
 
мода. в начало Teama,
 
что сделать бы ) минут? 30 подскажет... показывало буду каждые погоду кто Как благодарен
 
В 60000 замените false); на строке _Myshket__Dyavol, 30000. 60000, SetTimer("SetRandomWeather",
 
no too expression, : fmt_msg); 001: RolePlay\gamemodes\JRP1.pwn(49111)
C++:
 warning RolePlay\gamemodes\JRP1.pwn(49111) ожидается : C:\Users\Admin\Desktop\Rayon error "SetRandomWeather" C:\Users\Admin\Desktop\Rayon : : has fatal token: "SetRandomWeather" symbol C:\Users\Admin\Desktop\Rayon "[Прогноз °С)", undefined SendClientMessageToAll(-1, error error SendClientMessageToAll(0x3399FFFF, = but 107: C:\Users\Admin\Desktop\Rayon messages { ";", public _weather[rand][weather_degrees]); RolePlay\gamemodes\JRP1.pwn(49111) expected new assumed format(fmt_msg, error found [CODE] undefined symbol ")" error zero "searchlite" error 029: expression, 001: error undefined : RolePlay\gamemodes\JRP1.pwn(49106) } but on one : effect end-", expression : области "-identifier-" 215: many "-string : RolePlay\gamemodes\JRP1.pwn(49106) C:\Users\Admin\Desktop\Rayon line invalid C:\Users\Admin\Desktop\Rayon RolePlay\gamemodes\JRP1.pwn(49111) 017: fmt_msg, zero expected _weather[rand][weather_name], found rand C:\Users\Admin\Desktop\Rayon RolePlay\gamemodes\JRP1.pwn(49107) true; RolePlay\gamemodes\JRP1.pwn(49111) 029: class="searchlite">погоды</span>]"); %s
SetRandomWeather(); fmt_msg[55]; symbol error : 017: _weather); C:\Users\Admin\Desktop\Rayon return error {99CC00}(+%d <span "В C:\Users\Admin\Desktop\Rayon SetWeather(_weather[rand][weather_id]); assumed [/CODE] RolePlay\gamemodes\JRP1.pwn(49107) random(sizeof token: SetRandomWeather() 017: new forward sizeof invalid
 
format(fmt_msg, true; = _weather); погоды]"); SetRandomWeather() return }[/CODE] {
C++:
 SetWeather(_weather[rand][weather_id]); forward ожидается public new _weather[rand][weather_degrees]); области {99CC00}(+%d new SendClientMessageToAll(-1, fmt_msg, _weather[rand][weather_name], sizeof SetRandomWeather(); "[Прогноз [B][USER=20891]@Seine_Voo[/USER][/B], rand fmt_msg); SendClientMessageToAll(0x3399FFFF, %s fmt_msg[55]; random(sizeof "В °С)",
 

Кто прочитал эту тему (Всего: 0) за последние 1 часов Посмотреть детально

    Кто просматривал эту тему (Всего: 1, Пользователей: 0, Гостей: 1)

      Кто отслеживал эту тему (Всего: 0) Посмотреть детально

        Похожие темы

        Назад
        Сверху