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

Artyom_Kurzov

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

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

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

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

        Похожие темы

        Назад
        Сверху