Ayuda con este Codigo, cuando intento Compilar

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

Cru4v3

Новичок
Автор темы
1
0
{$CLEO}
{$INCLUDE SF}

const
STATE = 4@
OFFSET = 1.0
DEPTH = -10.0
DELAY = 100
MAX_DISTANCE = 2.0
end

0001: wait 2000 ms

0B34: samp register_client_command "drptp" to_label @CoordMaster

while true
wait 0
if STATE == 1
then
Actor.StorePos($PLAYER_ACTOR, 5@ 6@ 7@)

{ X }
if 0025: 5@ > 1@
then
5@ -= OFFSET
end
if 8025: 5@ > 1@
then
5@ += OFFSET
end
{ Y }
if 0025: 6@ > 2@
then
6@ -= OFFSET
end
if 8025: 6@ > 2@
then
6@ += OFFSET
end

Actor.PutAt($PLAYER_ACTOR, 5@ 6@ DEPTH)

0509: 9@ = distance_between_XY 5@ 6@ and_XY 1@ 2@
if 9@ < MAX_DISTANCE
then
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
Actor.PutAt($PLAYER_ACTOR, 5@ 6@ -999.0)

018C: play_sound 1058 at 0.0 0.0 0.0

0B12: 4@ = 4@ XOR 1
end

wait DELAY
end
end

:CoordMaster
if 0AB6: store_target_marker_coords_to 1@ 2@ 3@
then
0B12: STATE = STATE XOR 1
if STATE == 1
then
Actor.LockInCurrentPosition($PLAYER_ACTOR) = True

print "CoordMaster DRP v2 by Alex Wide~n~~g~Enabled" 7200
else
Actor.PutAt($PLAYER_ACTOR, 5@ 6@ -999.0)
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False

print "CoordMaster DRP by Alex Wide~n~~r~Disabled" 7200
end
018C: play_sound 1058 at 0.0 0.0 0.0
end
0B43: samp cmd_ret


me sale que no pudo cargar SF
 

samp1337

Новичок
5
2
{$CLEO}
{$INCLUDE SF}

const
STATE = 4@
OFFSET = 1.0
DEPTH = -10.0
DELAY = 100
MAX_DISTANCE = 2.0
end

0001: wait 2000 ms

0B34: samp register_client_command "drptp" to_label @CoordMaster

while true
wait 0
if STATE == 1
then
Actor.StorePos($PLAYER_ACTOR, 5@ 6@ 7@)

{ X }
if 0025: 5@ > 1@
then
5@ -= OFFSET
end
if 8025: 5@ > 1@
then
5@ += OFFSET
end
{ Y }
if 0025: 6@ > 2@
then
6@ -= OFFSET
end
if 8025: 6@ > 2@
then
6@ += OFFSET
end

Actor.PutAt($PLAYER_ACTOR, 5@ 6@ DEPTH)

0509: 9@ = distance_between_XY 5@ 6@ and_XY 1@ 2@
if 9@ < MAX_DISTANCE
then
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False
Actor.PutAt($PLAYER_ACTOR, 5@ 6@ -999.0)

018C: play_sound 1058 at 0.0 0.0 0.0

0B12: 4@ = 4@ XOR 1
end

wait DELAY
end
end

:CoordMaster
if 0AB6: store_target_marker_coords_to 1@ 2@ 3@
then
0B12: STATE = STATE XOR 1
if STATE == 1
then
Actor.LockInCurrentPosition($PLAYER_ACTOR) = True

print "CoordMaster DRP v2 by Alex Wide~n~~g~Enabled" 7200
else
Actor.PutAt($PLAYER_ACTOR, 5@ 6@ -999.0)
Actor.LockInCurrentPosition($PLAYER_ACTOR) = False

print "CoordMaster DRP by Alex Wide~n~~r~Disabled" 7200
end
018C: play_sound 1058 at 0.0 0.0 0.0
end
0B43: samp cmd_ret


me sale que no pudo cargar SF
 

Вложения

  • Cleo.cs
    18.9 KB · Просмотры: 12
Статус
В этой теме нельзя размещать новые ответы.