Рендерить часть изображения и хранить изображение в буффере.Как можно сделать полоску загрузки или что-то подобное и можно ли как-то рисовать изображение(пиксельное) без каких-либо дополнительных файлов?
Как его поместить в буфер? Пример, если можно)Рендерить часть изображения и хранить изображение в буффере.
В hex...endКак его поместить в буфер? Пример, если можно)
ез жеВ hex...end
Но сделать это будет немного сложнее, чем кажется.
{$CLEO}
0000:
wait 2000
0AC6: 1@ = label @buffer offset
0C8C: render 0@ = load_texture_from_file_in_memory 1@ size 5 // 5 - размер
03E3: set_texture_to_be_drawn_antialiased 1
while true
wait 0
0B73: render draw_texture 0@ pos 100 100 size 128 128 rotation 0.0 color 0xFFFFFFFF
end
:buffer
hex
FF FF FF FF FF // тут hex файла
end
я png-шку кидал, норм@hnnssy, а хекс картинки в каком формате?
{$CLEO .cs}
0000: NOP
repeat
wait 0
until SAMP.Available()
0af8: "{ffffff}Универсальный автоцвет. {EE00EE}[uCVET]{FF0000} - /cvhelp" color 0xffffff
0af8: "{ffffff}Автор ... edited {00FF00}LokoLoyKoo" color 0xffffff
0af8: "{ffffff}Специально для {1C86EE}GalaxY-RPG." color 0xffffff
0AC6: 0@ = label @text offset
0B34: samp register_client_command "fcvet" to_label @command
0B34: samp register_client_command "ucvet" to_label @CMD
0BDE: pause_thread 0
1@ = 0
:ifdead
wait 0
if and
1@ == 1
Actor.Dead($PLAYER_ACTOR)
else_jump @ifdead
// ------------------------------------------------ ARMY
if or
02F2: actor $PLAYER_ACTOR model == #ARMY
02F2: actor $PLAYER_ACTOR model == #GUNGRL3
then
wait 7500
0AF9: samp say_msg "/cvet 22"
end
// ------------------------------------------------- LSPD
if or
02F2: actor $PLAYER_ACTOR model == #LAPDM1
02F2: actor $PLAYER_ACTOR model == #LAPD1
02F2: actor $PLAYER_ACTOR model == #lvpd1
02F2: actor $PLAYER_ACTOR model == #WFYCLPD
02F2: actor $PLAYER_ACTOR model == 267
02F2: actor $PLAYER_ACTOR model == 266
02F2: actor $PLAYER_ACTOR model == 265
02F2: actor $PLAYER_ACTOR model == #CSHER
then
wait 7500
0AF9: samp say_msg "привет."
end
// ------------------------------------------------- LVPD
if or
02F2: actor $PLAYER_ACTOR model == #LAPDM1
02F2: actor $PLAYER_ACTOR model == #LAPD1
02F2: actor $PLAYER_ACTOR model == #lvpd1
02F2: actor $PLAYER_ACTOR model == #WFYCLPD
02F2: actor $PLAYER_ACTOR model == 267
02F2: actor $PLAYER_ACTOR model == 266
02F2: actor $PLAYER_ACTOR model == 265
02F2: actor $PLAYER_ACTOR model == #CSHER
then
wait 7500
0AF9: samp say_msg "привет"
end
// ------------------------------------------------- FBI
if or
02F2: actor $PLAYER_ACTOR model == #SWAT
02F2: actor $PLAYER_ACTOR model == #FBI
02F2: actor $PLAYER_ACTOR model == #BMYBOUN
02F2: actor $PLAYER_ACTOR model == #WMYBOUN
then
wait 7500
0AF9: samp say_msg "/cvet 87"
end
// ------------------------------------------------- M4C
if or
02F2: actor $PLAYER_ACTOR model == #WMOSCI
02F2: actor $PLAYER_ACTOR model == #LAEMT1
02F2: actor $PLAYER_ACTOR model == #LVEMT1
02F2: actor $PLAYER_ACTOR model == #SFEMT1
02F2: actor $PLAYER_ACTOR model == #BMOBAR
then
wait 7500
0AF9: samp say_msg "/cvet 3"
end
// ------------------------------------------------- REPORTERI
if or
02F2: actor $PLAYER_ACTOR model == 290
02F2: actor $PLAYER_ACTOR model == #SWMYST
02F2: actor $PLAYER_ACTOR model == 295
02F2: actor $PLAYER_ACTOR model == #WFYBU
02F2: actor $PLAYER_ACTOR model == #SOMYBU
then
wait 7500
0AF9: samp say_msg "/cvet 82"
end
// ------------------------------------------------- TAX
if or
02F2: actor $PLAYER_ACTOR model == #WMYCD1
02F2: actor $PLAYER_ACTOR model == #BMOCD
02F2: actor $PLAYER_ACTOR model == #BMOSEC
02F2: actor $PLAYER_ACTOR model == #WMYPLT
02F2: actor $PLAYER_ACTOR model == #WMYCH
02F2: actor $PLAYER_ACTOR model == #WMYPLT
02F2: actor $PLAYER_ACTOR model == #VWFYCRP
then
wait 7500
0AF9: samp say_msg "/cvet 45"
end
// ------------------------------------------------- BALLAS
if or
02F2: actor $PLAYER_ACTOR model == #BMYDRUG
02F2: actor $PLAYER_ACTOR model == #BALLAS2
02F2: actor $PLAYER_ACTOR model == #BALLAS1
02F2: actor $PLAYER_ACTOR model == #BALLAS3
02F2: actor $PLAYER_ACTOR model == #BFYST
then
wait 7500
0AF9: samp say_msg "/cvet 93"
end
// ------------------------------------------------- GROVE
if or
02F2: actor $PLAYER_ACTOR model == #FAM1
02F2: actor $PLAYER_ACTOR model == #FAM3
02F2: actor $PLAYER_ACTOR model == #FAM2
02F2: actor $PLAYER_ACTOR model == 269
02F2: actor $PLAYER_ACTOR model == 271
02F2: actor $PLAYER_ACTOR model == 270
then
wait 7500
0AF9: samp say_msg "/cvet 17"
end
// ------------------------------------------------- CORONOS
if or
02F2: actor $PLAYER_ACTOR model == #HMYCR
02F2: actor $PLAYER_ACTOR model == #VLA1
02F2: actor $PLAYER_ACTOR model == #VLA2
02F2: actor $PLAYER_ACTOR model == #VLA3
02F2: actor $PLAYER_ACTOR model == 292
02F2: actor $PLAYER_ACTOR model == #NURGRL3
then
wait 7500
0AF9: samp say_msg "/cvet 16"
end
// ------------------------------------------------- VAGOS
if or
02F2: actor $PLAYER_ACTOR model == #LSV1
02F2: actor $PLAYER_ACTOR model == #LSV2
02F2: actor $PLAYER_ACTOR model == #LSV3
02F2: actor $PLAYER_ACTOR model == #BFYRI
02F2: actor $PLAYER_ACTOR model == 273
then
wait 7500
0AF9: samp say_msg "/cvet 10"
end
// ------------------------------------------------- LAWYERS
if or
02F2: actor $PLAYER_ACTOR model == #WMYCLOT
02F2: actor $PLAYER_ACTOR model == #BMYRI
02F2: actor $PLAYER_ACTOR model == #OMYRI
02F2: actor $PLAYER_ACTOR model == #SWMYRI
02F2: actor $PLAYER_ACTOR model == #CROGRL3
02F2: actor $PLAYER_ACTOR model == #WMYVA
02F2: actor $PLAYER_ACTOR model == #VWMYBJD
then
wait 7500
0AF9: samp say_msg "/cvet 96"
end
// ------------------------------------------------- RIFA
if or
02F2: actor $PLAYER_ACTOR model == #SFR1
02F2: actor $PLAYER_ACTOR model == #SFR2
02F2: actor $PLAYER_ACTOR model == #SFR3
02F2: actor $PLAYER_ACTOR model == #HFYRI
02F2: actor $PLAYER_ACTOR model == #VHMYCR
02F2: actor $PLAYER_ACTOR model == #HMYDRUG
then
wait 7500
0AF9: samp say_msg "/cvet 59"
end
// ------------------------------------------------- BK
if or
02F2: actor $PLAYER_ACTOR model == #WBDYG1
02F2: actor $PLAYER_ACTOR model == #BMYPOL2
02F2: actor $PLAYER_ACTOR model == #BMYPOL1
02F2: actor $PLAYER_ACTOR model == #WBDYG2
02F2: actor $PLAYER_ACTOR model == #VBMYCR
02F2: actor $PLAYER_ACTOR model == #COPGRL3
02F2: actor $PLAYER_ACTOR model == 297
then
wait 7500
0AF9: samp say_msg "/cvet 84"
end
// ------------------------------------------------- SR
if or
02F2: actor $PLAYER_ACTOR model == #BMYCR
02F2: actor $PLAYER_ACTOR model == #BMYTATT
02F2: actor $PLAYER_ACTOR model == #OMYST
02F2: actor $PLAYER_ACTOR model == #SWMYCR
02F2: actor $PLAYER_ACTOR model == 299
02F2: actor $PLAYER_ACTOR model == #HMYST
then
wait 7500
0AF9: samp say_msg "/cvet 4"
end
// ------------------------------------------------- BIKERS
if or
02F2: actor $PLAYER_ACTOR model == #WMYCR
02F2: actor $PLAYER_ACTOR model == #BIKERA
02F2: actor $PLAYER_ACTOR model == #BIKERB
02F2: actor $PLAYER_ACTOR model == #MECGRL3
then
wait 7500
0AF9: samp say_msg "/cvet 91"
end
// ------------------------------------------------- LCN
if or
02F2: actor $PLAYER_ACTOR model == #WMYRI
02F2: actor $PLAYER_ACTOR model == #SHMYCR
02F2: actor $PLAYER_ACTOR model == #HMYRI
02F2: actor $PLAYER_ACTOR model == #VMAFF3
02F2: actor $PLAYER_ACTOR model == #VMAFF1
02F2: actor $PLAYER_ACTOR model == #MAFBOSS
02F2: actor $PLAYER_ACTOR model == #SWFYST
then
wait 7500
0AF9: samp say_msg "/cvet 44"
end
// ------------------------------------------------- YAKUZA
if or
02F2: actor $PLAYER_ACTOR model == #DNB2
02F2: actor $PLAYER_ACTOR model == #DNB1
02F2: actor $PLAYER_ACTOR model == #DNB3
02F2: actor $PLAYER_ACTOR model == #SOMYRI
02F2: actor $PLAYER_ACTOR model == #SOMYRI
02F2: actor $PLAYER_ACTOR model == #TRIBOSS
02F2: actor $PLAYER_ACTOR model == #SOFYRI
then
wait 7500
0AF9: samp say_msg "/cvet 72"
end
// ------------------------------------------------- TTM
if or
02F2: actor $PLAYER_ACTOR model == #OMYRI
02F2: actor $PLAYER_ACTOR model == #TRIADA
02F2: actor $PLAYER_ACTOR model == #TRIADB
02F2: actor $PLAYER_ACTOR model == 294
02F2: actor $PLAYER_ACTOR model == 208
02F2: actor $PLAYER_ACTOR model == #SOFYBU
02F2: actor $PLAYER_ACTOR model == #SOMYST
then
wait 7500
0AF9: samp say_msg "/cvet 85"
end
// ------------------------------------------------- RM
if or
02F2: actor $PLAYER_ACTOR model == #VWMYCD
02F2: actor $PLAYER_ACTOR model == #MAFFB
02F2: actor $PLAYER_ACTOR model == 3
02F2: actor $PLAYER_ACTOR model == #MAFFA
02F2: actor $PLAYER_ACTOR model == #VMAFF2
02F2: actor $PLAYER_ACTOR model == 272
then
wait 7500
0AF9: samp say_msg "/cvet 6"
end
:notdead
wait 0
if
not Actor.Dead($PLAYER_ACTOR)
else_jump @notdead
jump @ifdead
:command
if 1@ == 1
then
1@ = 0
0af8: "{ff5333}Auto{FFA500}Cvet{ffffff}-деактивирован." color 0xffffff
else
1@ = 1
0af8: "{7feb4d}Auto{FFA500}Cvet{ffffff}-активирован." color 0xffffff
end
0B43: samp cmd_ret
:CMD
0B3B: samp show_dialog id 420 caption "{FF0000}Lawyer Script by LokoLoyKoo" text 0@ button_1 "OK" button_2 "Закрыть" style {DIALOG_STYLE_MSGBOX}0
0B43: samp cmd_ret
:text
hex
7B "54FF9F" 7D "Скрипт адаптирован под сервера GalaxY, любые предложения по улучшению скрипта принимаются" 20 7B "00BFFF" 7D "Skype - jimmy.yuma" A
7B "54FF9F" 7D "Цвета распределяются по скинам игрока." 20 7B "008B8B" 7D "активация/деактивация" 20 7B "90EE90" "/uCVET"
7B "54FF9F" 7D "Авторы" 20 7B "ffffff" 7D "-" 20 "LokoLoyKoo и еще один.)" A
7B "54FF9F" 7D "Приятной игры" 00
end
Дык у тебя скрипт на паузе стоит. И при вводе команды пауза не снимается, так что условие if 1@ == 1... даже не проверяется.Не хочет работать, скажите почему.
CLEO:{$CLEO .cs} 0000: NOP repeat wait 0 until SAMP.Available() 0af8: "{ffffff}Универсальный автоцвет. {EE00EE}[uCVET]{FF0000} - /cvhelp" color 0xffffff 0af8: "{ffffff}Автор ... edited {00FF00}LokoLoyKoo" color 0xffffff 0af8: "{ffffff}Специально для {1C86EE}GalaxY-RPG." color 0xffffff 0AC6: 0@ = label @text offset 0B34: samp register_client_command "fcvet" to_label @command 0B34: samp register_client_command "ucvet" to_label @CMD 0BDE: pause_thread 0 1@ = 0 :ifdead wait 0 if and 1@ == 1 Actor.Dead($PLAYER_ACTOR) else_jump @ifdead // ------------------------------------------------ ARMY if or 02F2: actor $PLAYER_ACTOR model == #ARMY 02F2: actor $PLAYER_ACTOR model == #GUNGRL3 then wait 7500 0AF9: samp say_msg "/cvet 22" end // ------------------------------------------------- LSPD if or 02F2: actor $PLAYER_ACTOR model == #LAPDM1 02F2: actor $PLAYER_ACTOR model == #LAPD1 02F2: actor $PLAYER_ACTOR model == #lvpd1 02F2: actor $PLAYER_ACTOR model == #WFYCLPD 02F2: actor $PLAYER_ACTOR model == 267 02F2: actor $PLAYER_ACTOR model == 266 02F2: actor $PLAYER_ACTOR model == 265 02F2: actor $PLAYER_ACTOR model == #CSHER then wait 7500 0AF9: samp say_msg "привет." end // ------------------------------------------------- LVPD if or 02F2: actor $PLAYER_ACTOR model == #LAPDM1 02F2: actor $PLAYER_ACTOR model == #LAPD1 02F2: actor $PLAYER_ACTOR model == #lvpd1 02F2: actor $PLAYER_ACTOR model == #WFYCLPD 02F2: actor $PLAYER_ACTOR model == 267 02F2: actor $PLAYER_ACTOR model == 266 02F2: actor $PLAYER_ACTOR model == 265 02F2: actor $PLAYER_ACTOR model == #CSHER then wait 7500 0AF9: samp say_msg "привет" end // ------------------------------------------------- FBI if or 02F2: actor $PLAYER_ACTOR model == #SWAT 02F2: actor $PLAYER_ACTOR model == #FBI 02F2: actor $PLAYER_ACTOR model == #BMYBOUN 02F2: actor $PLAYER_ACTOR model == #WMYBOUN then wait 7500 0AF9: samp say_msg "/cvet 87" end // ------------------------------------------------- M4C if or 02F2: actor $PLAYER_ACTOR model == #WMOSCI 02F2: actor $PLAYER_ACTOR model == #LAEMT1 02F2: actor $PLAYER_ACTOR model == #LVEMT1 02F2: actor $PLAYER_ACTOR model == #SFEMT1 02F2: actor $PLAYER_ACTOR model == #BMOBAR then wait 7500 0AF9: samp say_msg "/cvet 3" end // ------------------------------------------------- REPORTERI if or 02F2: actor $PLAYER_ACTOR model == 290 02F2: actor $PLAYER_ACTOR model == #SWMYST 02F2: actor $PLAYER_ACTOR model == 295 02F2: actor $PLAYER_ACTOR model == #WFYBU 02F2: actor $PLAYER_ACTOR model == #SOMYBU then wait 7500 0AF9: samp say_msg "/cvet 82" end // ------------------------------------------------- TAX if or 02F2: actor $PLAYER_ACTOR model == #WMYCD1 02F2: actor $PLAYER_ACTOR model == #BMOCD 02F2: actor $PLAYER_ACTOR model == #BMOSEC 02F2: actor $PLAYER_ACTOR model == #WMYPLT 02F2: actor $PLAYER_ACTOR model == #WMYCH 02F2: actor $PLAYER_ACTOR model == #WMYPLT 02F2: actor $PLAYER_ACTOR model == #VWFYCRP then wait 7500 0AF9: samp say_msg "/cvet 45" end // ------------------------------------------------- BALLAS if or 02F2: actor $PLAYER_ACTOR model == #BMYDRUG 02F2: actor $PLAYER_ACTOR model == #BALLAS2 02F2: actor $PLAYER_ACTOR model == #BALLAS1 02F2: actor $PLAYER_ACTOR model == #BALLAS3 02F2: actor $PLAYER_ACTOR model == #BFYST then wait 7500 0AF9: samp say_msg "/cvet 93" end // ------------------------------------------------- GROVE if or 02F2: actor $PLAYER_ACTOR model == #FAM1 02F2: actor $PLAYER_ACTOR model == #FAM3 02F2: actor $PLAYER_ACTOR model == #FAM2 02F2: actor $PLAYER_ACTOR model == 269 02F2: actor $PLAYER_ACTOR model == 271 02F2: actor $PLAYER_ACTOR model == 270 then wait 7500 0AF9: samp say_msg "/cvet 17" end // ------------------------------------------------- CORONOS if or 02F2: actor $PLAYER_ACTOR model == #HMYCR 02F2: actor $PLAYER_ACTOR model == #VLA1 02F2: actor $PLAYER_ACTOR model == #VLA2 02F2: actor $PLAYER_ACTOR model == #VLA3 02F2: actor $PLAYER_ACTOR model == 292 02F2: actor $PLAYER_ACTOR model == #NURGRL3 then wait 7500 0AF9: samp say_msg "/cvet 16" end // ------------------------------------------------- VAGOS if or 02F2: actor $PLAYER_ACTOR model == #LSV1 02F2: actor $PLAYER_ACTOR model == #LSV2 02F2: actor $PLAYER_ACTOR model == #LSV3 02F2: actor $PLAYER_ACTOR model == #BFYRI 02F2: actor $PLAYER_ACTOR model == 273 then wait 7500 0AF9: samp say_msg "/cvet 10" end // ------------------------------------------------- LAWYERS if or 02F2: actor $PLAYER_ACTOR model == #WMYCLOT 02F2: actor $PLAYER_ACTOR model == #BMYRI 02F2: actor $PLAYER_ACTOR model == #OMYRI 02F2: actor $PLAYER_ACTOR model == #SWMYRI 02F2: actor $PLAYER_ACTOR model == #CROGRL3 02F2: actor $PLAYER_ACTOR model == #WMYVA 02F2: actor $PLAYER_ACTOR model == #VWMYBJD then wait 7500 0AF9: samp say_msg "/cvet 96" end // ------------------------------------------------- RIFA if or 02F2: actor $PLAYER_ACTOR model == #SFR1 02F2: actor $PLAYER_ACTOR model == #SFR2 02F2: actor $PLAYER_ACTOR model == #SFR3 02F2: actor $PLAYER_ACTOR model == #HFYRI 02F2: actor $PLAYER_ACTOR model == #VHMYCR 02F2: actor $PLAYER_ACTOR model == #HMYDRUG then wait 7500 0AF9: samp say_msg "/cvet 59" end // ------------------------------------------------- BK if or 02F2: actor $PLAYER_ACTOR model == #WBDYG1 02F2: actor $PLAYER_ACTOR model == #BMYPOL2 02F2: actor $PLAYER_ACTOR model == #BMYPOL1 02F2: actor $PLAYER_ACTOR model == #WBDYG2 02F2: actor $PLAYER_ACTOR model == #VBMYCR 02F2: actor $PLAYER_ACTOR model == #COPGRL3 02F2: actor $PLAYER_ACTOR model == 297 then wait 7500 0AF9: samp say_msg "/cvet 84" end // ------------------------------------------------- SR if or 02F2: actor $PLAYER_ACTOR model == #BMYCR 02F2: actor $PLAYER_ACTOR model == #BMYTATT 02F2: actor $PLAYER_ACTOR model == #OMYST 02F2: actor $PLAYER_ACTOR model == #SWMYCR 02F2: actor $PLAYER_ACTOR model == 299 02F2: actor $PLAYER_ACTOR model == #HMYST then wait 7500 0AF9: samp say_msg "/cvet 4" end // ------------------------------------------------- BIKERS if or 02F2: actor $PLAYER_ACTOR model == #WMYCR 02F2: actor $PLAYER_ACTOR model == #BIKERA 02F2: actor $PLAYER_ACTOR model == #BIKERB 02F2: actor $PLAYER_ACTOR model == #MECGRL3 then wait 7500 0AF9: samp say_msg "/cvet 91" end // ------------------------------------------------- LCN if or 02F2: actor $PLAYER_ACTOR model == #WMYRI 02F2: actor $PLAYER_ACTOR model == #SHMYCR 02F2: actor $PLAYER_ACTOR model == #HMYRI 02F2: actor $PLAYER_ACTOR model == #VMAFF3 02F2: actor $PLAYER_ACTOR model == #VMAFF1 02F2: actor $PLAYER_ACTOR model == #MAFBOSS 02F2: actor $PLAYER_ACTOR model == #SWFYST then wait 7500 0AF9: samp say_msg "/cvet 44" end // ------------------------------------------------- YAKUZA if or 02F2: actor $PLAYER_ACTOR model == #DNB2 02F2: actor $PLAYER_ACTOR model == #DNB1 02F2: actor $PLAYER_ACTOR model == #DNB3 02F2: actor $PLAYER_ACTOR model == #SOMYRI 02F2: actor $PLAYER_ACTOR model == #SOMYRI 02F2: actor $PLAYER_ACTOR model == #TRIBOSS 02F2: actor $PLAYER_ACTOR model == #SOFYRI then wait 7500 0AF9: samp say_msg "/cvet 72" end // ------------------------------------------------- TTM if or 02F2: actor $PLAYER_ACTOR model == #OMYRI 02F2: actor $PLAYER_ACTOR model == #TRIADA 02F2: actor $PLAYER_ACTOR model == #TRIADB 02F2: actor $PLAYER_ACTOR model == 294 02F2: actor $PLAYER_ACTOR model == 208 02F2: actor $PLAYER_ACTOR model == #SOFYBU 02F2: actor $PLAYER_ACTOR model == #SOMYST then wait 7500 0AF9: samp say_msg "/cvet 85" end // ------------------------------------------------- RM if or 02F2: actor $PLAYER_ACTOR model == #VWMYCD 02F2: actor $PLAYER_ACTOR model == #MAFFB 02F2: actor $PLAYER_ACTOR model == 3 02F2: actor $PLAYER_ACTOR model == #MAFFA 02F2: actor $PLAYER_ACTOR model == #VMAFF2 02F2: actor $PLAYER_ACTOR model == 272 then wait 7500 0AF9: samp say_msg "/cvet 6" end :notdead wait 0 if not Actor.Dead($PLAYER_ACTOR) else_jump @notdead jump @ifdead :command if 1@ == 1 then 1@ = 0 0af8: "{ff5333}Auto{FFA500}Cvet{ffffff}-деактивирован." color 0xffffff else 1@ = 1 0af8: "{7feb4d}Auto{FFA500}Cvet{ffffff}-активирован." color 0xffffff end 0B43: samp cmd_ret :CMD 0B3B: samp show_dialog id 420 caption "{FF0000}Lawyer Script by LokoLoyKoo" text 0@ button_1 "OK" button_2 "Закрыть" style {DIALOG_STYLE_MSGBOX}0 0B43: samp cmd_ret :text hex 7B "54FF9F" 7D "Скрипт адаптирован под сервера GalaxY, любые предложения по улучшению скрипта принимаются" 20 7B "00BFFF" 7D "Skype - jimmy.yuma" A 7B "54FF9F" 7D "Цвета распределяются по скинам игрока." 20 7B "008B8B" 7D "активация/деактивация" 20 7B "90EE90" "/uCVET" 7B "54FF9F" 7D "Авторы" 20 7B "ffffff" 7D "-" 20 "LokoLoyKoo и еще один.)" A 7B "54FF9F" 7D "Приятной игры" 00 end
Все спс понял.Дык у тебя скрипт на паузе стоит. И при вводе команды пауза не снимается, так что условие if 1@ == 1... даже не проверяется.
Тут есть клео для прыжка на машине
Можно сделать тоже, но на человека?// 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
:NONAME_2
wait 10
0AB4: 1@ = var 6
if and
not 1@ == 1
0AB0: key_pressed 111
Actor.Driving($PLAYER_ACTOR)
else_jump @NONAME_2
0@ = Actor.CurrentCar($PLAYER_ACTOR)
07D5: set_car 0@ velocity_in_direction_XYZ 0.0 0.0 0.2 rotation_velocitiesXY 0.0 0.0 unk 0.0
wait 200
jump @NONAME_2
{$CLEO .cs}
0000: NOP
repeat
wait 0
until samp.Available()
:ajump
wait 10
if and
8B21: samp is_chat_closed
0AB0: key_pressed 111 // "/ - numpad"
jf @ajump
083C: set_actor $PLAYER_ACTOR velocity_in_direction_XYZ 0.0 0.0 5.0
wait 200
jump @ajump
0B61: samp is_local_player_spawnedКак добавить проверку о том что игрок заспавнился
МДАБлин я не так выразился, мне нужно проверка на то что я заспавнился.