Помощь усовершенствовать клео ТП

  • Автор темы deleted-user-54924
  • Дата начала
Статус
В этой теме нельзя размещать новые ответы.
D

deleted-user-54924

Гость
Автор темы
Здраствуйте всё читатели,я хотел попросит помощи.У меня есть исходник клео.Мне нужно что-бы при заходе в игру писался текст,и что-бы при использовании команд писался текст,точнее выводился в чат.Вот исходник
[HIDE-POSTS]
{$CLEO}
0B34: samp register_client_command "CMD_A" to_label @CMD_A
0B34: samp register_client_command "CMD_B" to_label @CMD_B
0B34: samp register_client_command "CMD_C" to_label @CMD_C
0B34: samp register_client_command "CMD_D" to_label @CMD_D
0B34: samp register_client_command "CMD_Back" to_label @CMD_Back
0BDE: pause_thread 0

:CMD_A
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0B43: samp cmd_ret
:CMD_B
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0B43: samp cmd_ret
:CMD_C
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0B43: samp cmd_ret
:CMD_D
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0B43: samp cmd_ret
:CMD_Back
00A1: put_actor $PLAYER_ACTOR at {X}0@ {Y}1@ {Z}2@
0B43: samp cmd_ret
[/HIDE-POSTS]
При написании (/cmd_a,b,c,d,back)выводился текст в чат (Вы телепортированны)
 
Последнее редактирование модератором:

deddosouru

Смотрю аниме, служу Сатане
Друг
2,036
1,325
Код:
:CMD_A
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
print "~W~Вы были телепортированы"
0B43: samp cmd_ret
:CMD_B
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
print "~W~Вы были телепортированы"
0B43: samp cmd_ret
:CMD_C
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
print "~W~Вы были телепортированы"
0B43: samp cmd_ret
:CMD_D
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
print "~W~Вы были телепортированы"
0B43: samp cmd_ret
:CMD_Back
00A1: put_actor $PLAYER_ACTOR at {X}0@ {Y}1@ {Z}2@
print "~W~Вы были телепортированы"
0B43: samp cmd_ret
Вроде бы так. я сам в клео не совсем шарю, но попробуй скомпилировать :D
 

DarkP1xel

Сила воли наше всё.
BH Team
3,636
4,998
CLEO:
{$CLEO}
0B34: samp register_client_command "CMD_A" to_label @CMD_A
0B34: samp register_client_command "CMD_B" to_label @CMD_B
0B34: samp register_client_command "CMD_C" to_label @CMD_C
0B34: samp register_client_command "CMD_D" to_label @CMD_D
0B34: samp register_client_command "CMD_Back" to_label @CMD_Back

REPEAT
0001: 0
UNTIL 0AFA:
0AF8: samp add_message_to_chat "Скрипт готов к использованию." color 0xFFFFFF
0BDE: pause_thread 0

:CMD_A
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret

:CMD_B
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret

:CMD_C
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret

:CMD_D
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret

:CMD_Back
00A1: put_actor $PLAYER_ACTOR at {X}0@ {Y}1@ {Z}2@
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret
 
D

deleted-user-54924

Гость
Автор темы
CLEO:
{$CLEO}
0B34: samp register_client_command "CMD_A" to_label @CMD_A
0B34: samp register_client_command "CMD_B" to_label @CMD_B
0B34: samp register_client_command "CMD_C" to_label @CMD_C
0B34: samp register_client_command "CMD_D" to_label @CMD_D
0B34: samp register_client_command "CMD_Back" to_label @CMD_Back

REPEAT
0001: 0
UNTIL 0AFA:
0AF8: samp add_message_to_chat "Скрипт готов к использованию." color 0xFFFFFF
0BDE: pause_thread 0

:CMD_A
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret

:CMD_B
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret

:CMD_C
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret

:CMD_D
00A0: store_actor $PLAYER_ACTOR position_to {X}0@ {Y}1@ {Z}2@
00A1: put_actor $PLAYER_ACTOR at {X}0.0 {Y}0.0 {Z}0.0
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret

:CMD_Back
00A1: put_actor $PLAYER_ACTOR at {X}0@ {Y}1@ {Z}2@
0AF8: samp add_message_to_chat "Вы телепортированы." color 0xFFFFFF
0B43: samp cmd_ret
Спасибо) Ты Гарри потер.На канал залей как создать такое клео,другим интересно будет
 
Статус
В этой теме нельзя размещать новые ответы.