Cleo Script Turf timer help please

Статус
В этой теме нельзя размещать новые ответы.

ExceldsBG

Новичок
Автор темы
9
2
Hello, i have turf timer cleo, but i need someone to remove the nick system from it, and also i think its not decompiled good because it has hex in the end of the code. The nick system is like if you dont use the nick written in the cleo file in samp the script will not load.
Sorry that i send it as timer.txt ,it needs to be timer.cs
And the auto.ini.txt needs to be just auto.ini
EDIT: I give the .cs but its hex

@D3.Pheonix im sure you can 100% help me, because you have already done this to other guy that also wanted you to remove nick system
 

Вложения

  • auto.ini.txt
    1.2 KB · Просмотры: 2
  • timer.txt
    64.4 KB · Просмотры: 7
  • timer.cs
    67.7 KB · Просмотры: 4
Последнее редактирование:

D3.Pheonix

Event Loop
Модератор
2,349
1,148
1) For me, it's working correctly only with cleo 4.4
2) I didn't find script cmds like: /epos, /gpos, /clearenemy, /cleargraffit, that are mentioned in timerhelp dialog. Maybe these cmds are server-side? IDK...
There are only 6 cmd :
1655641710351.png


3)Check it, i don't have time:
CLEO:
{$CLEO .cs}
{$USE bitwise}
{$USE ini}

thread "Timer"
if
  $707 == 0
jf @TIMER_29
0A93: end_custom_thread

:TIMER_29
wait 0
   SAMP.Available
jf @TIMER_29
if
0AAB:   file_exists "cleo\auto.ini"
jf @TIMER_77
jump @TIMER_273

:TIMER_77
chatmsg "{919191}[Error] Не са открити настройките" color 9539985
0A93: end_custom_thread

:TIMER_273
chatmsg "{a6a6a6}Ex7 Mods: Таймерът беше зареден успешно! (/timerhelp)" color 16753920
21@ = 0
0B34: samp register_client_command "tpos" to_label @TIMER_8811
0B34: samp register_client_command "timer" to_label @TIMER_9136
0B34: samp register_client_command "cleartimer" to_label @TIMER_16264
0B34: samp register_client_command "timergang" to_label @TIMER_12525
0B34: samp register_client_command "stoptimer" to_label @TIMER_16368
0B34: samp register_client_command "timerhelp" to_label @TIMER_16494
0@ = Render.CreateFont("Arial", 11, 5)
alloc 12@ = allocate_memory_size 260
alloc 13@ = allocate_memory_size 260
alloc 14@ = allocate_memory_size 260
alloc 15@ = allocate_memory_size 260
alloc 26@ = allocate_memory_size 15
alloc 24@ = allocate_memory_size 180
alloc 11@ = allocate_memory_size 20
22@ = 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 1
jf @TIMER_703
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME1"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Los Santos Vagos (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_703
if
  11@ == 2
jf @TIMER_906
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME2"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за East Coast Bloodz (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_906
if
  11@ == 3
jf @TIMER_1107
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME3"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Bulgarian Mafia (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1107
if
  11@ == 4
jf @TIMER_1302
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME4"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Thug Life (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1302
if
  11@ == 5
jf @TIMER_1510
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME5"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Rolling Heights Ballas (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1510
if
  11@ == 6
jf @TIMER_1710
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME6"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Peaky Blinders (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1710
if
  11@ == 7
jf @TIMER_1910
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME7"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Vinewood Cripz (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1910
if
  11@ == 8
jf @TIMER_2117
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME8"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Grove Street Families (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2117
if
  11@ == 9
jf @TIMER_2322
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME9"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Varrios Los Aztecas (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2322
if
  11@ == 10
jf @TIMER_2524
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME10"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за San Fierro Rifa (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2524
if
  11@ == 11
jf @TIMER_2728
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME11"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за San Fierro Triads (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2728
if
  11@ == 12
jf @TIMER_2934
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME12"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Mara Salvatrucha 13 (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2934
if
  11@ == 13
jf @TIMER_3136
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME13"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Boyz N The HooD (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3136
if
  11@ == 14
jf @TIMER_3335
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME14"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Da Nang Boyz (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3335
if
  11@ == 15
jf @TIMER_3536
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME15"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Bounty Hunters (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3536
if
  11@ == 16
jf @TIMER_3738
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME16"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за West Side Kings (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3738
if
  11@ == 17
jf @TIMER_3938
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME17"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Russian Mafia (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3938
if
  11@ == 18
jf @TIMER_77
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME18"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Sons of Anarchy (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_4140
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 1
jf @TIMER_4366
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Los Santos Vagos {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Los Santos Vagos {C800FF}се опитва да превземе"
jf @TIMER_4140
jump @TIMER_8152

:TIMER_4366
wait 0
if
  11@ == 2
jf @TIMER_4550
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}East Coast Bloodz {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}East Coast Bloodz {C800FF}се опитва да превземе"
jf @TIMER_4366
jump @TIMER_8152

:TIMER_4550
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 3
jf @TIMER_4774
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Bulgarian Mafia {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Bulgarian Mafia {C800FF}се опитва да превземе"
jf @TIMER_4550
jump @TIMER_8152

:TIMER_4774
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 4
jf @TIMER_4986
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Thug Life {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Thug Life {C800FF}се опитва да превземе"
jf @TIMER_4774
jump @TIMER_8152

:TIMER_4986
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 5
jf @TIMER_5224
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Rolling Heights Ballas {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Rolling Heights Ballas {C800FF}се опитва да превземе"
jf @TIMER_4986
jump @TIMER_8152

:TIMER_5224
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 6
jf @TIMER_5446
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Peaky Blinders {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Peaky Blinders {C800FF}се опитва да превземе"
jf @TIMER_5224
jump @TIMER_8152

:TIMER_5446
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 7
jf @TIMER_5668
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Vinewood Cripz {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Vinewood Cripz {C800FF}се опитва да превземе"
jf @TIMER_5446
jump @TIMER_8152

:TIMER_5668
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 8
jf @TIMER_5904
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Grove Street Families {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Grove Street Families {C800FF}се опитва да превземе"
jf @TIMER_5668
jump @TIMER_8152

:TIMER_5904
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 9
jf @TIMER_6136
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Varrios Los Aztecas {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Varrios Los Aztecas {C800FF}се опитва да превземе"
jf @TIMER_5904
jump @TIMER_8152

:TIMER_6136
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 10
jf @TIMER_6360
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}San Fierro Rifa {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}San Fierro Rifa {C800FF}се опитва да превземе"
jf @TIMER_6136
jump @TIMER_8152

:TIMER_6360
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 11
jf @TIMER_6588
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}San Fierro Triads {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}San Fierro Triads {C800FF}се опитва да превземе"
jf @TIMER_6360
jump @TIMER_8152

:TIMER_6588
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 12
jf @TIMER_6820
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Mara Salvatrucha 13 {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Mara Salvatrucha 13 {C800FF}се опитва да превземе"
jf @TIMER_6588
jump @TIMER_8152

:TIMER_6820
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 13
jf @TIMER_7044
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Boyz N The HooD {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Boyz N The HooD {C800FF}се опитва да превземе"
jf @TIMER_6820
jump @TIMER_8152

:TIMER_7044
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 14
jf @TIMER_7262
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Da Nang Boyz {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Da Nang Boyz {C800FF}се опитва да превземе"
jf @TIMER_7044
jump @TIMER_8152

:TIMER_7262
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 15
jf @TIMER_7484
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Bounty Hunters {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Bounty Hunters {C800FF}се опитва да превземе"
jf @TIMER_7262
jump @TIMER_8152

:TIMER_7484
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 16
jf @TIMER_7708
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}West Side Kings {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}West Side Kings {C800FF}се опитва да превземе"
jf @TIMER_7484
jump @TIMER_8152

:TIMER_7708
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 17
jf @TIMER_7928
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Russian Mafia {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Russian Mafia {C800FF}се опитва да превземе"
jf @TIMER_7708
jump @TIMER_8152

:TIMER_7928
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 18
jf @TIMER_77
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Sons of Anarchy {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Sons of Anarchy {C800FF}се опитва да превземе"
jf @TIMER_7928
jump @TIMER_8152

:TIMER_8152
wait 0
if
  22@ == 0
jf @TIMER_4140
22@ = 1
chatmsg "{a6a6a6}Ex7 Mods: {009933}Timer ACTIVATED" color 16777215
018C: play_sound 1057 at 0.0 0.0 0.0
alloc 1@ = allocate_memory_size 64
alloc 2@ = allocate_memory_size 64
alloc 4@ = allocate_memory_size 64
0AF2: 1@ = get_float_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_X"
0AF2: 2@ = get_float_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_Y"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
0C74: 16@ = create_timer_interval 1000 on_label -8802
0B60: convert_game_screen_coords 1@ 2@ to_window_screen_coords 7@ 8@
0C48: samp textdraw 430 create "Timer Started" pos 1@ 2@
0C4B: samp textdraw 430 set_proportional 1
0C4A: samp textdraw 430 set_align 2
wait 100
jump @TIMER_8471

:TIMER_8471
wait 0
if
  22@ == 1
jf @TIMER_4140
alloc 18@ = allocate_memory_size 64
0085: 19@ = 4@ // (int)
19@ /= 60
0085: 9@ = 19@ // (int)
9@ *= 60
0085: 3@ = 4@ // (int)
0062: 3@ -= 9@ // (int)
if
  3@ > 9
jf @TIMER_8618
format 18@ = format "Allied: %d:%d" 19@ 3@
0C50: samp textdraw 430 set_string 18@
free 18@
   not 4@ > -1
jf @TIMER_8471

:TIMER_8618
format 18@ = format "Allied: %d:0%d" 19@ 3@
0C50: samp textdraw 430 set_string 18@
free 18@
   not 4@ > -1
jf @TIMER_8471
0C78: set_timer 16@ active 0
018C: play_sound 1057 at 0.0 0.0 0.0
22@ = 0
0C5E: samp textdraw 430 delete
chatmsg "{a6a6a6}Ex7 Mods: {990000}Timer{a6a6a6} OFF" color 16777215
free 1@
free 2@
free 4@
free 16@
free 18@
free 19@
jump @TIMER_4140
4@ -= 1
SAMP.CmdRet

:TIMER_8811
   SAMP.IsCommandTyped(22@)
if
0AD4: 23@ = scan_string 22@ format "%d %d" 1@ 2@
jf @TIMER_9055
0093: 1@ = integer 1@ to_float
0093: 2@ = integer 2@ to_float
chatmsg "{a6a6a6}Ex7 Mods: Кординатите на таймера са сменени - %f, %f (Original: X - 540, Y - 400)" color 16753920 1@ 2@
0AF3: write_float 1@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_X"
0AF3: write_float 2@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_Y"
jump @TIMER_9134

:TIMER_9055
chatmsg "{a6a6a6}Ex7 Mods: Изполвай /tpos [X] [Y] (Original: X - 540, Y - 400)" color 16753920

:TIMER_9134
SAMP.CmdRet

:TIMER_9136
   SAMP.IsCommandTyped(28@)
if
0AD4: 29@ = scan_string 28@ format "%d %d" 6@ 4@
jf @TIMER_12453
if
  6@ == 1
jf @TIMER_9356
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Los Santos Vagos!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME1"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_9356
if
  6@ == 2
jf @TIMER_9539
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на East Coast Bloodz!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME2"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_9539
if
  6@ == 3
jf @TIMER_9720
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Bulgarian Mafia!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME3"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_9720
if
  6@ == 4
jf @TIMER_9895
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Thug Life!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME4"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_9895
if
  6@ == 5
jf @TIMER_10083
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Rolling Heights Ballas!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME5"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10083
if
  6@ == 6
jf @TIMER_10263
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Peaky Blinders!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME6"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10263
if
  6@ == 7
jf @TIMER_10443
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Vinewood Cripz!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME7"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10443
if
  6@ == 8
jf @TIMER_10630
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Grove Street Families!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME8"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10630
if
  6@ == 9
jf @TIMER_10815
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Varrios Los Aztecas!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME9"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10815
if
  6@ == 10
jf @TIMER_10997
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на San Fierro Rifa!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME10"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10997
if
  6@ == 11
jf @TIMER_11181
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на San Fierro Triads!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME11"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11181
if
  6@ == 12
jf @TIMER_11367
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Mara Salvatrucha 13!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME12"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11367
if
  6@ == 13
jf @TIMER_11549
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Boyz N The HooD!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME13"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11549
if
  6@ == 14
jf @TIMER_11728
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Da Nang Boyz!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME14"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11728
if
  6@ == 15
jf @TIMER_11909
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Bounty Hunters!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME15"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11909
if
  6@ == 16
jf @TIMER_12091
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на West Side Kings!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME16"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_12091
if
  6@ == 17
jf @TIMER_12271
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Russian Mafia!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME17"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_12271
if
  6@ == 18
jf @TIMER_16218
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Sons of Anarchy!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME18"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_12453
chatmsg "{a6a6a6}Ex7 Mods: Изполвай /timer [номер на банда] [секунди]" color 16753920

:TIMER_12523
SAMP.CmdRet

:TIMER_12525
   SAMP.IsCommandTyped(27@)
if
0AD4: 26@ = scan_string 27@ format "%d" 25@
jf @TIMER_16218
if
  25@ == 1
jf @TIMER_12753
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG1"
0AF1: write_int 1 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME1"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_12753
if
  25@ == 2
jf @TIMER_12949
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG2"
0AF1: write_int 2 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME2"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_12949
if
  25@ == 3
jf @TIMER_13145
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG3"
0AF1: write_int 3 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME3"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13145
if
  25@ == 4
jf @TIMER_13341
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG4"
0AF1: write_int 4 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME4"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13341
if
  25@ == 5
jf @TIMER_13537
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG5"
0AF1: write_int 5 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME5"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13537
if
  25@ == 6
jf @TIMER_13733
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG6"
0AF1: write_int 6 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME6"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13733
if
  25@ == 7
jf @TIMER_13929
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG7"
0AF1: write_int 7 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME7"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13929
if
  25@ == 8
jf @TIMER_14125
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG8"
0AF1: write_int 8 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME8"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14125
if
  25@ == 9
jf @TIMER_14321
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG9"
0AF1: write_int 9 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME9"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14321
if
  25@ == 10
jf @TIMER_14519
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG10"
0AF1: write_int 10 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME10"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14519
if
  25@ == 11
jf @TIMER_14717
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG11"
0AF1: write_int 11 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME11"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14717
if
  25@ == 12
jf @TIMER_14915
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG12"
0AF1: write_int 12 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME12"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14915
if
  25@ == 13
jf @TIMER_15113
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG13"
0AF1: write_int 13 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME13"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15113
if
  25@ == 14
jf @TIMER_15311
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG14"
0AF1: write_int 14 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME14"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15311
if
  25@ == 15
jf @TIMER_15509
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG15"
0AF1: write_int 15 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME15"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15509
if
  25@ == 16
jf @TIMER_15707
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG16"
0AF1: write_int 16 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME16"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15707
if
  25@ == 17
jf @TIMER_15905
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG17"
0AF1: write_int 17 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME17"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15905
if
  25@ == 18
jf @TIMER_16218
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG18"
0AF1: write_int 18 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME18"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_16103
chatmsg "{a6a6a6}Ex7 Mods: Новата банда е %s (%i сек.) [презаредете играта при бъгове]" color 16753920 24@ 4@
free 24@
free 25@
free 26@
free 27@
SAMP.CmdRet

:TIMER_16218
chatmsg "{a6a6a6}Ex7 Mods: Невалидно число!" color 16753920
SAMP.CmdRet

:TIMER_16264
22@ = 0
0C5E: samp textdraw 430 delete
chatmsg "{a6a6a6}Ex7 Mods: {990000}Timer{a6a6a6} OFF" color 16777215
0C78: set_timer 16@ active 0
free 1@
free 2@
free 4@
free 16@
free 18@
free 19@
SAMP.CmdRet

:TIMER_16368
if
  21@ == 0
jf @TIMER_16492
21@ = 1
22@ = 0
0C5E: samp textdraw 430 delete
0C78: set_timer 16@ active 0
free 1@
free 2@
free 4@
free 16@
free 18@
free 19@
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е изключен!" color 16777215
0A93: end_custom_thread

:TIMER_16492
SAMP.CmdRet

:TIMER_16494
chatmsg "{a6a6a6}[Gangs] 1-Vagos, 2-Bloodz, 3-BGM, 4-Thug, 5-Ballas, 6-Peaky," color 16777215
chatmsg "{a6a6a6}[Gangs] 7-Cripz, 8-Grove, 9-Aztecas, 10-Rifa, 11-Triads, 12-Mara," color 16777215
chatmsg "{a6a6a6}[Gangs] 13-Boyz, 14-Nang, 15-BH, 16-WSK, 17-Russian, 18-SOA" color 16777215
alloc 20@ = allocate_memory_size 260
format 20@ = format "{a6a6a6}/tpos, /epos, /gpos - позиция%c/timer - време%c/cleartimer, /clearenemy, /cleargraffit - спира%c/timergang - банда" 0x0A 0x0A 0x0A
SAMP.ShowDialog(45, "[Ex7] Timer Commands", 20@, "Wow", "Close", 0)
free 20@
SAMP.CmdRet
 

Вложения

  • timer.cs
    65.7 KB · Просмотры: 7

ExceldsBG

Новичок
Автор темы
9
2
1) For me, it's working correctly only with cleo 4.4
2) I didn't find script cmds like: /epos, /gpos, /clearenemy, /cleargraffit, that are mentioned in timerhelp dialog. Maybe these cmds are server-side? IDK...
There are only 6 cmd :
Посмотреть вложение 153066

3)Check it, i don't have time:
CLEO:
{$CLEO .cs}
{$USE bitwise}
{$USE ini}

thread "Timer"
if
  $707 == 0
jf @TIMER_29
0A93: end_custom_thread

:TIMER_29
wait 0
   SAMP.Available
jf @TIMER_29
if
0AAB:   file_exists "cleo\auto.ini"
jf @TIMER_77
jump @TIMER_273

:TIMER_77
chatmsg "{919191}[Error] Не са открити настройките" color 9539985
0A93: end_custom_thread

:TIMER_273
chatmsg "{a6a6a6}Ex7 Mods: Таймерът беше зареден успешно! (/timerhelp)" color 16753920
21@ = 0
0B34: samp register_client_command "tpos" to_label @TIMER_8811
0B34: samp register_client_command "timer" to_label @TIMER_9136
0B34: samp register_client_command "cleartimer" to_label @TIMER_16264
0B34: samp register_client_command "timergang" to_label @TIMER_12525
0B34: samp register_client_command "stoptimer" to_label @TIMER_16368
0B34: samp register_client_command "timerhelp" to_label @TIMER_16494
0@ = Render.CreateFont("Arial", 11, 5)
alloc 12@ = allocate_memory_size 260
alloc 13@ = allocate_memory_size 260
alloc 14@ = allocate_memory_size 260
alloc 15@ = allocate_memory_size 260
alloc 26@ = allocate_memory_size 15
alloc 24@ = allocate_memory_size 180
alloc 11@ = allocate_memory_size 20
22@ = 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 1
jf @TIMER_703
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME1"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Los Santos Vagos (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_703
if
  11@ == 2
jf @TIMER_906
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME2"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за East Coast Bloodz (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_906
if
  11@ == 3
jf @TIMER_1107
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME3"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Bulgarian Mafia (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1107
if
  11@ == 4
jf @TIMER_1302
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME4"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Thug Life (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1302
if
  11@ == 5
jf @TIMER_1510
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME5"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Rolling Heights Ballas (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1510
if
  11@ == 6
jf @TIMER_1710
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME6"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Peaky Blinders (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1710
if
  11@ == 7
jf @TIMER_1910
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME7"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Vinewood Cripz (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_1910
if
  11@ == 8
jf @TIMER_2117
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME8"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Grove Street Families (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2117
if
  11@ == 9
jf @TIMER_2322
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME9"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Varrios Los Aztecas (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2322
if
  11@ == 10
jf @TIMER_2524
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME10"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за San Fierro Rifa (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2524
if
  11@ == 11
jf @TIMER_2728
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME11"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за San Fierro Triads (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2728
if
  11@ == 12
jf @TIMER_2934
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME12"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Mara Salvatrucha 13 (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_2934
if
  11@ == 13
jf @TIMER_3136
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME13"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Boyz N The HooD (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3136
if
  11@ == 14
jf @TIMER_3335
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME14"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Da Nang Boyz (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3335
if
  11@ == 15
jf @TIMER_3536
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME15"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Bounty Hunters (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3536
if
  11@ == 16
jf @TIMER_3738
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME16"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за West Side Kings (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3738
if
  11@ == 17
jf @TIMER_3938
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME17"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Russian Mafia (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_3938
if
  11@ == 18
jf @TIMER_77
alloc 5@ = allocate_memory_size 64
0AF0: 5@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME18"
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е настроен за Sons of Anarchy (%i сек.)" color 16777215 5@
0AF1: write_int 5@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
free 5@
jump @TIMER_4140

:TIMER_4140
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 1
jf @TIMER_4366
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Los Santos Vagos {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Los Santos Vagos {C800FF}се опитва да превземе"
jf @TIMER_4140
jump @TIMER_8152

:TIMER_4366
wait 0
if
  11@ == 2
jf @TIMER_4550
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}East Coast Bloodz {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}East Coast Bloodz {C800FF}се опитва да превземе"
jf @TIMER_4366
jump @TIMER_8152

:TIMER_4550
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 3
jf @TIMER_4774
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Bulgarian Mafia {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Bulgarian Mafia {C800FF}се опитва да превземе"
jf @TIMER_4550
jump @TIMER_8152

:TIMER_4774
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 4
jf @TIMER_4986
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Thug Life {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Thug Life {C800FF}се опитва да превземе"
jf @TIMER_4774
jump @TIMER_8152

:TIMER_4986
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 5
jf @TIMER_5224
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Rolling Heights Ballas {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Rolling Heights Ballas {C800FF}се опитва да превземе"
jf @TIMER_4986
jump @TIMER_8152

:TIMER_5224
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 6
jf @TIMER_5446
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Peaky Blinders {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Peaky Blinders {C800FF}се опитва да превземе"
jf @TIMER_5224
jump @TIMER_8152

:TIMER_5446
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 7
jf @TIMER_5668
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Vinewood Cripz {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Vinewood Cripz {C800FF}се опитва да превземе"
jf @TIMER_5446
jump @TIMER_8152

:TIMER_5668
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 8
jf @TIMER_5904
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Grove Street Families {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Grove Street Families {C800FF}се опитва да превземе"
jf @TIMER_5668
jump @TIMER_8152

:TIMER_5904
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 9
jf @TIMER_6136
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Varrios Los Aztecas {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Varrios Los Aztecas {C800FF}се опитва да превземе"
jf @TIMER_5904
jump @TIMER_8152

:TIMER_6136
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 10
jf @TIMER_6360
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}San Fierro Rifa {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}San Fierro Rifa {C800FF}се опитва да превземе"
jf @TIMER_6136
jump @TIMER_8152

:TIMER_6360
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 11
jf @TIMER_6588
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}San Fierro Triads {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}San Fierro Triads {C800FF}се опитва да превземе"
jf @TIMER_6360
jump @TIMER_8152

:TIMER_6588
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 12
jf @TIMER_6820
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Mara Salvatrucha 13 {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Mara Salvatrucha 13 {C800FF}се опитва да превземе"
jf @TIMER_6588
jump @TIMER_8152

:TIMER_6820
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 13
jf @TIMER_7044
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Boyz N The HooD {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Boyz N The HooD {C800FF}се опитва да превземе"
jf @TIMER_6820
jump @TIMER_8152

:TIMER_7044
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 14
jf @TIMER_7262
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Da Nang Boyz {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Da Nang Boyz {C800FF}се опитва да превземе"
jf @TIMER_7044
jump @TIMER_8152

:TIMER_7262
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 15
jf @TIMER_7484
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Bounty Hunters {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Bounty Hunters {C800FF}се опитва да превземе"
jf @TIMER_7262
jump @TIMER_8152

:TIMER_7484
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 16
jf @TIMER_7708
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}West Side Kings {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}West Side Kings {C800FF}се опитва да превземе"
jf @TIMER_7484
jump @TIMER_8152

:TIMER_7708
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 17
jf @TIMER_7928
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Russian Mafia {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Russian Mafia {C800FF}се опитва да превземе"
jf @TIMER_7708
jump @TIMER_8152

:TIMER_7928
wait 0
0AF0: 11@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
if
  11@ == 18
jf @TIMER_77
SAMP.GetChatString(99, 12@, 13@, 14@, 15@)
if or
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Sons of Anarchy {C800FF}атакува територията"
0C18: 10@ = strstr string1 12@ string2 "{FF0000}Sons of Anarchy {C800FF}се опитва да превземе"
jf @TIMER_7928
jump @TIMER_8152

:TIMER_8152
wait 0
if
  22@ == 0
jf @TIMER_4140
22@ = 1
chatmsg "{a6a6a6}Ex7 Mods: {009933}Timer ACTIVATED" color 16777215
018C: play_sound 1057 at 0.0 0.0 0.0
alloc 1@ = allocate_memory_size 64
alloc 2@ = allocate_memory_size 64
alloc 4@ = allocate_memory_size 64
0AF2: 1@ = get_float_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_X"
0AF2: 2@ = get_float_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_Y"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
0C74: 16@ = create_timer_interval 1000 on_label -8802
0B60: convert_game_screen_coords 1@ 2@ to_window_screen_coords 7@ 8@
0C48: samp textdraw 430 create "Timer Started" pos 1@ 2@
0C4B: samp textdraw 430 set_proportional 1
0C4A: samp textdraw 430 set_align 2
wait 100
jump @TIMER_8471

:TIMER_8471
wait 0
if
  22@ == 1
jf @TIMER_4140
alloc 18@ = allocate_memory_size 64
0085: 19@ = 4@ // (int)
19@ /= 60
0085: 9@ = 19@ // (int)
9@ *= 60
0085: 3@ = 4@ // (int)
0062: 3@ -= 9@ // (int)
if
  3@ > 9
jf @TIMER_8618
format 18@ = format "Allied: %d:%d" 19@ 3@
0C50: samp textdraw 430 set_string 18@
free 18@
   not 4@ > -1
jf @TIMER_8471

:TIMER_8618
format 18@ = format "Allied: %d:0%d" 19@ 3@
0C50: samp textdraw 430 set_string 18@
free 18@
   not 4@ > -1
jf @TIMER_8471
0C78: set_timer 16@ active 0
018C: play_sound 1057 at 0.0 0.0 0.0
22@ = 0
0C5E: samp textdraw 430 delete
chatmsg "{a6a6a6}Ex7 Mods: {990000}Timer{a6a6a6} OFF" color 16777215
free 1@
free 2@
free 4@
free 16@
free 18@
free 19@
jump @TIMER_4140
4@ -= 1
SAMP.CmdRet

:TIMER_8811
   SAMP.IsCommandTyped(22@)
if
0AD4: 23@ = scan_string 22@ format "%d %d" 1@ 2@
jf @TIMER_9055
0093: 1@ = integer 1@ to_float
0093: 2@ = integer 2@ to_float
chatmsg "{a6a6a6}Ex7 Mods: Кординатите на таймера са сменени - %f, %f (Original: X - 540, Y - 400)" color 16753920 1@ 2@
0AF3: write_float 1@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_X"
0AF3: write_float 2@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_Y"
jump @TIMER_9134

:TIMER_9055
chatmsg "{a6a6a6}Ex7 Mods: Изполвай /tpos [X] [Y] (Original: X - 540, Y - 400)" color 16753920

:TIMER_9134
SAMP.CmdRet

:TIMER_9136
   SAMP.IsCommandTyped(28@)
if
0AD4: 29@ = scan_string 28@ format "%d %d" 6@ 4@
jf @TIMER_12453
if
  6@ == 1
jf @TIMER_9356
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Los Santos Vagos!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME1"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_9356
if
  6@ == 2
jf @TIMER_9539
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на East Coast Bloodz!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME2"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_9539
if
  6@ == 3
jf @TIMER_9720
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Bulgarian Mafia!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME3"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_9720
if
  6@ == 4
jf @TIMER_9895
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Thug Life!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME4"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_9895
if
  6@ == 5
jf @TIMER_10083
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Rolling Heights Ballas!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME5"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10083
if
  6@ == 6
jf @TIMER_10263
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Peaky Blinders!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME6"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10263
if
  6@ == 7
jf @TIMER_10443
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Vinewood Cripz!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME7"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10443
if
  6@ == 8
jf @TIMER_10630
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Grove Street Families!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME8"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10630
if
  6@ == 9
jf @TIMER_10815
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Varrios Los Aztecas!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME9"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10815
if
  6@ == 10
jf @TIMER_10997
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на San Fierro Rifa!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME10"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_10997
if
  6@ == 11
jf @TIMER_11181
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на San Fierro Triads!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME11"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11181
if
  6@ == 12
jf @TIMER_11367
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Mara Salvatrucha 13!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME12"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11367
if
  6@ == 13
jf @TIMER_11549
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Boyz N The HooD!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME13"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11549
if
  6@ == 14
jf @TIMER_11728
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Da Nang Boyz!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME14"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11728
if
  6@ == 15
jf @TIMER_11909
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Bounty Hunters!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME15"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_11909
if
  6@ == 16
jf @TIMER_12091
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на West Side Kings!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME16"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_12091
if
  6@ == 17
jf @TIMER_12271
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Russian Mafia!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME17"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_12271
if
  6@ == 18
jf @TIMER_16218
chatmsg "{a6a6a6}Ex7 Mods: Успешно промени времето на Sons of Anarchy!" color 16753920
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME18"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_12523

:TIMER_12453
chatmsg "{a6a6a6}Ex7 Mods: Изполвай /timer [номер на банда] [секунди]" color 16753920

:TIMER_12523
SAMP.CmdRet

:TIMER_12525
   SAMP.IsCommandTyped(27@)
if
0AD4: 26@ = scan_string 27@ format "%d" 25@
jf @TIMER_16218
if
  25@ == 1
jf @TIMER_12753
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG1"
0AF1: write_int 1 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME1"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_12753
if
  25@ == 2
jf @TIMER_12949
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG2"
0AF1: write_int 2 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME2"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_12949
if
  25@ == 3
jf @TIMER_13145
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG3"
0AF1: write_int 3 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME3"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13145
if
  25@ == 4
jf @TIMER_13341
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG4"
0AF1: write_int 4 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME4"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13341
if
  25@ == 5
jf @TIMER_13537
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG5"
0AF1: write_int 5 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME5"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13537
if
  25@ == 6
jf @TIMER_13733
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG6"
0AF1: write_int 6 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME6"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13733
if
  25@ == 7
jf @TIMER_13929
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG7"
0AF1: write_int 7 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME7"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_13929
if
  25@ == 8
jf @TIMER_14125
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG8"
0AF1: write_int 8 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME8"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14125
if
  25@ == 9
jf @TIMER_14321
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG9"
0AF1: write_int 9 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME9"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14321
if
  25@ == 10
jf @TIMER_14519
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG10"
0AF1: write_int 10 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME10"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14519
if
  25@ == 11
jf @TIMER_14717
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG11"
0AF1: write_int 11 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME11"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14717
if
  25@ == 12
jf @TIMER_14915
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG12"
0AF1: write_int 12 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME12"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_14915
if
  25@ == 13
jf @TIMER_15113
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG13"
0AF1: write_int 13 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME13"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15113
if
  25@ == 14
jf @TIMER_15311
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG14"
0AF1: write_int 14 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME14"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15311
if
  25@ == 15
jf @TIMER_15509
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG15"
0AF1: write_int 15 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME15"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15509
if
  25@ == 16
jf @TIMER_15707
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG16"
0AF1: write_int 16 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME16"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15707
if
  25@ == 17
jf @TIMER_15905
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG17"
0AF1: write_int 17 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME17"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_15905
if
  25@ == 18
jf @TIMER_16218
0AF4: 24@ = read_string_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_GANG18"
0AF1: write_int 18 to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_CONFIG"
0AF0: 4@ = get_int_from_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME18"
0AF1: write_int 4@ to_ini_file "cleo\auto.ini" section "Settings" key "TIMER_TIME"
jump @TIMER_16103

:TIMER_16103
chatmsg "{a6a6a6}Ex7 Mods: Новата банда е %s (%i сек.) [презаредете играта при бъгове]" color 16753920 24@ 4@
free 24@
free 25@
free 26@
free 27@
SAMP.CmdRet

:TIMER_16218
chatmsg "{a6a6a6}Ex7 Mods: Невалидно число!" color 16753920
SAMP.CmdRet

:TIMER_16264
22@ = 0
0C5E: samp textdraw 430 delete
chatmsg "{a6a6a6}Ex7 Mods: {990000}Timer{a6a6a6} OFF" color 16777215
0C78: set_timer 16@ active 0
free 1@
free 2@
free 4@
free 16@
free 18@
free 19@
SAMP.CmdRet

:TIMER_16368
if
  21@ == 0
jf @TIMER_16492
21@ = 1
22@ = 0
0C5E: samp textdraw 430 delete
0C78: set_timer 16@ active 0
free 1@
free 2@
free 4@
free 16@
free 18@
free 19@
chatmsg "{a6a6a6}Ex7 Mods: Таймерът е изключен!" color 16777215
0A93: end_custom_thread

:TIMER_16492
SAMP.CmdRet

:TIMER_16494
chatmsg "{a6a6a6}[Gangs] 1-Vagos, 2-Bloodz, 3-BGM, 4-Thug, 5-Ballas, 6-Peaky," color 16777215
chatmsg "{a6a6a6}[Gangs] 7-Cripz, 8-Grove, 9-Aztecas, 10-Rifa, 11-Triads, 12-Mara," color 16777215
chatmsg "{a6a6a6}[Gangs] 13-Boyz, 14-Nang, 15-BH, 16-WSK, 17-Russian, 18-SOA" color 16777215
alloc 20@ = allocate_memory_size 260
format 20@ = format "{a6a6a6}/tpos, /epos, /gpos - позиция%c/timer - време%c/cleartimer, /clearenemy, /cleargraffit - спира%c/timergang - банда" 0x0A 0x0A 0x0A
SAMP.ShowDialog(45, "[Ex7] Timer Commands", 20@, "Wow", "Close", 0)
free 20@
SAMP.CmdRet
there is no problem that epos gpos clearenemy cleargraffit aren't here. They are for another cleo, its just in the dialog. Thank you for helping me!

The game freezes and crash after timer gets activated. Someone fix pls?
 
Последнее редактирование:
  • Нравится
Реакции: D3.Pheonix

ExceldsBG

Новичок
Автор темы
9
2
@ExceldsBG
1) u mean after entering cmd /timer int int ?
2) your vers of SAMP client ?
3) your vers of CLEO / SF ?
1) no, i mean like this script starts working when you start turf attack in the server. The timer gets activated, then the game freeze and crash. The /timer command is to change the seconds for the timer, there s no problem with /timer . The problem is the script when it gets activated it freeze and crash (it activates automatically when you start turf attack)
2) samp 0.3.7 no R
3) cleo 4.4 , sampfuncs 5.3.3
 

ExceldsBG

Новичок
Автор темы
9
2
Последнее редактирование:
  • Нравится
Реакции: D3.Pheonix
Статус
В этой теме нельзя размещать новые ответы.