// 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
:line_2
wait 400
SAMP.Available
else_jump @line_2
thread "line"
log "{ff9900}PlayerLines {ffffff}by {ff9900}Arkember {ffffff}for {ff9900}BlastHack"
alloc 10@ 10
alloc 12@ 22
0C11: memset destination 10@ value 0 size 10
0C11: memset destination 12@ value 0 size 22
11@ = Render.CreateFont("Arial", 10, 12)
SAMP.GetScreenResolution(8@, 9@)
8@ /= 2
9@ /= 2
0B34: samp register_client_command "plines" to_label @line_569
:line_191
wait 0
if
30@ == 1
else_jump @line_562
0@ = 0
:line_220
if
SAMP.IsPlayerConnected(0@)
else_jump @line_350
1@ = SAMP.GetActorHandleByPlayerID(0@)
if
056D: actor 1@ defined
else_jump @line_336
if
02CB: actor 1@ bounding_sphere_visible
else_jump @line_322
Actor.StorePos(1@, 2@, 3@, 4@)
SAMP.Convert3DCoordsToScreen(2@, 3@, 4@, 5@, 6@)
7@ = SAMP.GetPlayerColor(0@)
jump @line_329
:line_322
jump @line_540
:line_329
jump @line_343
:line_336
jump @line_540
:line_343
jump @line_357
:line_350
jump @line_540
:line_357
Render.DrawLine(8@, 9@, 5@, 6@, 1, 7@)
format 10@ "[ID: %d]" 0@
format 12@ "[X:%.1f Y:%1.f Z:%1.f]" 2@ 3@ 4@
Render.DrawText(11@, 10@, 5@, 6@, -1)
6@ += 15
Render.DrawText(11@, 12@, 5@, 6@, -1)
if
SAMP.IsPlayerPaused(0@)
else_jump @line_540
6@ += 15
Render.DrawText(11@, "{ffffff}[{ff0000}AFK{ffffff}]", 5@, 6@, -1)
:line_540
0@ += 1
0@ > 1000
else_jump @line_220
:line_562
jump @line_191
:line_569
0B12: 30@ = 30@ XOR 1
if
30@ == 1
else_jump @line_635
chatmsg "lines {00ff00}enabled" 16777215
jump @line_667
:line_635
chatmsg "lines {ff0000}disabled" 16777215
:line_667
SAMP.CmdRet