Point create

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

Bulava

Новичок
Автор темы
12
2
I want thats if i write in the chat "/checkpointc [X,Y,Z]" It will put checkpoint on these mini radar
Please help me
 
  • Нравится
Реакции: Natso

fiendshadow

3LFhocV726q7pKWWky2vv3W38Dm9sGJV86
Проверенный
455
121
forgot, sry
check this
CLEO:
{$CLEO .CS }
0000:
wait 3000


0B34: samp register_client_command "checkpointz" to_label @AsInteger

0B34: samp register_client_command "disable" to_label @disable

while true
    wait 0
    if 1@ == 1
    then
    0B35: samp 2@ = get_last_command_params
    if
0AD4: 0AD4: 2@ = scan_string 3@ format "%f%f%f" 7@ 8@ 9@
then
018A: 10@ = create_checkpoint_at: 7@ 8@ 9@
03BC: 11@ = create_sphere_at 7@ 8@ 9@  radius 3.0
    1@ = 0
end
end
end

:AsInteger
1@=1
wait 500
00BA: text_styled 'Created' 5000 ms 1
samp.CmdRet()

:disable
Marker.Disable(10@)
samp.cmdret()
 

Bulava

Новичок
Автор темы
12
2
forgot, sry
check this
CLEO:
{$CLEO .CS }
0000:
wait 3000


0B34: samp register_client_command "checkpointz" to_label @AsInteger

0B34: samp register_client_command "disable" to_label @disable

while true
    wait 0
    if 1@ == 1
    then
    0B35: samp 2@ = get_last_command_params
    if
0AD4: 0AD4: 2@ = scan_string 3@ format "%f%f%f" 7@ 8@ 9@
then
018A: 10@ = create_checkpoint_at: 7@ 8@ 9@
03BC: 11@ = create_sphere_at 7@ 8@ 9@  radius 3.0
    1@ = 0
end
end
end

:AsInteger
1@=1
wait 500
00BA: text_styled 'Created' 5000 ms 1
samp.CmdRet()

:disable
Marker.Disable(10@)
samp.cmdret()
Crash when i /checkpointz :(
 

Сэнд

Известный
Проверенный
436
212
CLEO:
{$CLEO .CS }
0000:
wait 3000


0B34: samp register_client_command "checkpointz" to_label @AsInteger

0B34: samp register_client_command "disable" to_label @disable

while true
    wait 0
    if 1@ == 1
    then
    0B35: samp 2@ = get_last_command_params
    if
0AD4: 0AD4: 2@ = scan_string 3@ format "%f %f %f" 7@ 8@ 9@
then
018A: 10@ = create_checkpoint_at: 7@ 8@ 9@
03BC: 11@ = create_sphere_at 7@ 8@ 9@  radius 3.0
    1@ = 0
end
end
end

:AsInteger
1@=1
wait 500
0af8: "Checkpoint created." -1
samp.CmdRet()

:disable
Marker.Disable(10@)
samp.cmdret()
try this
 

Bulava

Новичок
Автор темы
12
2
CLEO:
{$CLEO .CS }
0000:
wait 3000


0B34: samp register_client_command "checkpointz" to_label @AsInteger

0B34: samp register_client_command "disable" to_label @disable

while true
    wait 0
    if 1@ == 1
    then
    0B35: samp 2@ = get_last_command_params
    if
0AD4: 0AD4: 2@ = scan_string 3@ format "%f %f %f" 7@ 8@ 9@
then
018A: 10@ = create_checkpoint_at: 7@ 8@ 9@
03BC: 11@ = create_sphere_at 7@ 8@ 9@  radius 3.0
    1@ = 0
end
end
end

:AsInteger
1@=1
wait 500
0af8: "Checkpoint created." -1
samp.CmdRet()

:disable
Marker.Disable(10@)
samp.cmdret()
try this

Game has stoped working when i /checkpointz there are something wrong??
 

Bulava

Новичок
Автор темы
12
2
Код:
{$CLEO .CS }

0000:
wait 3000
0B34: samp register_client_command "check" to_label @AsInteger

0B34: samp register_client_command "disable" to_label @disable

while true
wait 0
   if 1@ == 1
   then
   wait 500
   1@ = 0
   0B35: samp 2@ = get_last_command_params
       if 0AD4: 3@ = scan_string 2@ format "%f %f %f" 7@ 8@ 9@
       then        
       10@ = Marker.CreateIconAndSphere(41, 7@, 8@, 9@)
       03BC: 11@ = create_sphere_at 7@ 8@ 9@  radius 3.0
       end
   end
end

:AsInteger
1@=1
00BA: text_styled 'Created' 5000 ms 1
samp.CmdRet()

:disable
Marker.Disable(10@)
samp.cmdret()
This full code , but i can't see red dots in mini radar when i /check 490.7942, 2408.761, 28.9375 . Someone help me
 
Статус
В этой теме нельзя размещать новые ответы.