Ошибка компиляции

rakzo

Известный
Автор темы
99
3
Опкоды установил, в чем проблема?
1605364226940.png
 

rakzo

Известный
Автор темы
99
3
код хотя бы скинул
CLEO:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
0000: NOP
0662: printstring "YouTube.com/DapoShow"
0662: printstring "VK.COM/DAPODOPE"

:Label00002D
wait 0
   SAMP.Available
else_jump @Label00002D

:Label00003A
wait 0
0@ = SAMP.GetGamestate()
if
  0@ == 3
else_jump @Label00003A
if
0AAB:   file_exists "CLEO\TimeWeather by Dapo Show.ini"
else_jump @Label00016F
0AF0: 0@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Time"
0AF0: 1@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Weather"
0AF0: 2@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockTime"
0AF0: 3@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockWeather"
jump @Label000364

:Label00016F
0AA7: call_function 8532696 num_params 2 pop 2 "wt+" "CLEO\TimeWeather by Dapo Show.ini" 18@
0AF1: write_int 12 to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Time"
0AF1: write_int 1 to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Weather"
0AF1: write_int 1 to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockTime"
0AF1: write_int 1 to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockWeather"
0AF0: 0@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Time"
0AF0: 1@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Weather"
0AF0: 2@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockTime"
0AF0: 3@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockWeather"
0AA7: call_function 8532363 num_params 1 pop 1 18@ 18@

:Label000364
0B34: samp register_client_command "st" to_label @Label000448
0B34: samp register_client_command "sw" to_label @Label000675
0B34: samp register_client_command "bt" to_label @Label0008AD
0B34: samp register_client_command "bw" to_label @Label000A63
chatmsg "{73b461}[Time/Weather] {ffffff}Çàãðóæåí! {DC4747}Êîìàíäû: {ffffff}/st, /sw, /bt, /bw {DC4747}v3.0 {ffffff}by Dapo Show" -1

:Label00040D
wait 0
if
  2@ == 0
else_jump @Label00042A
00C0: set_current_time_hours_to 0@ minutes_to 0

:Label00042A
if
  3@ == 0
else_jump @Label000441
set_weather 1@

:Label000441
jump @Label00040D

:Label000448
   SAMP.IsCommandTyped(4@)
0C17: 5@ = strlen 4@
if
   not 5@ > 0
else_jump @Label0004B7
chatmsg "{73b461}[Time/Weather] {ffffff}Ââåäèòå {DC4747}/st {ffffff}- âðåìÿ" -1
jump @Label000673

:Label0004B7
0AD4: TIMERB = scan_string 4@ format "%d" 5@
if and
  5@ > -1
   not 5@ >= 25
else_jump @Label000616
if
  2@ == 1
else_jump @Label000554
chatmsg "{73b461}[Time/Weather] {ffffff}Ó âàñ ñòîèò çàïðåò íà èçìåíåíèå âðåìåíè {DC4747}(/bt)" -1
jump @Label00060F

:Label000554
0AF1: write_int 5@ to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Time"
0AF0: 0@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Time"
chatmsg "{73b461}[Time/Weather]: {FFFFFF}Çíà÷åíèå âðåìåíè óñòàíîâëåíî íà {DC4747}%d" 16777215 5@

:Label00060F
jump @Label000673

:Label000616
chatmsg "{73b461}[Time/Weather]: {FFFFFF}Äîïóñòèìûå çíà÷åíèÿ îò {DC4747}0 {FFFFFF}äî {DC4747}24" -1

:Label000673
SAMP.CmdRet

:Label000675
   SAMP.IsCommandTyped(4@)
0C17: 5@ = strlen 4@
if
   not 5@ > 0
else_jump @Label0006EB
chatmsg "{73b461}[Time/Weather] {ffffff}Ââåäèòå {DC4747}/sw {ffffff}- íîìåð ïîãîäû" -1
jump @Label0008AB

:Label0006EB
0AD4: TIMERB = scan_string 4@ format "%d" 5@
if and
  5@ > -1
   not 5@ >= 46
else_jump @Label00084E
if
  3@ == 1
else_jump @Label000787
chatmsg "{73b461}[Time/Weather] {ffffff}Ó âàñ ñòîèò çàïðåò íà èçìåíåíèå ïîãîäû {DC4747}(/bw)" -1
jump @Label000847

:Label000787
0AF1: write_int 5@ to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Weather"
0AF0: 1@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "Weather"
chatmsg "{73b461}[Time/Weather]: {FFFFFF}Çíà÷åíèå ïîãîäû óñòàíîâëåíî íà {DC4747}%d" 16777215 5@

:Label000847
jump @Label0008AB

:Label00084E
chatmsg "{73b461}[Time/Weather]: {FFFFFF}Äîïóñòèìûå çíà÷åíèÿ îò {DC4747}0 {FFFFFF}äî {DC4747}45" -1

:Label0008AB
SAMP.CmdRet

:Label0008AD
if
  2@ == 1
else_jump @Label000995
0AF1: write_int 0 to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockTime"
0AF0: 2@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockTime"
chatmsg "{73b461}[Time/Weather]: {FFFFFF}Òåïåðü ñåðâåð {DC4747}íå ñìîæåò {FFFFFF}ìåíÿòü âàøå âðåìÿ! " -1
jump @Label000A61

:Label000995
0AF1: write_int 1 to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockTime"
0AF0: 2@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockTime"
chatmsg "{73b461}[Time/Weather]: {FFFFFF}Òåïåðü ñåðâåð {73b461}ñìîæåò {FFFFFF}ìåíÿòü âàøå âðåìÿ! " -1

:Label000A61
SAMP.CmdRet

:Label000A63
if
  3@ == 1
else_jump @Label000B52
0AF1: write_int 0 to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockWeather"
0AF0: 3@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockWeather"
chatmsg "{73b461}[Time/Weather]: {FFFFFF}Òåïåðü ñåðâåð {DC4747}íå ñìîæåò {FFFFFF}ìåíÿòü âàøó ïîãîäó! " -1
jump @Label000C25

:Label000B52
0AF1: write_int 1 to_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockWeather"
0AF0: 3@ = get_int_from_ini_file "CLEO\TimeWeather by Dapo Show.ini" section "TW" key "BlockWeather"
chatmsg "{73b461}[Time/Weather]: {FFFFFF}Òåïåðü ñåðâåð {73b461}ñìîæåò {FFFFFF}ìåíÿòü âàøó ïîãîäó! " -1

:Label000C25
SAMP.CmdRet
 

markiz.desead

Потрачен
580
464
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.

Вложения

  • 123123.cs
    3 KB · Просмотры: 10
  • Нравится
Реакции: rakzo

markiz.desead

Потрачен
580
464
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.

markiz.desead

Потрачен
580
464
Обратите внимание, пользователь заблокирован на форуме. Не рекомендуется проводить сделки.