Author Topic: Something fun  (Read 2783 times)

0 Members and 1 Guest are viewing this topic.

stealthstick

  • Klass Klown
  • ***
  • Posts: 360
  • Computer Scientist
    • View Profile
Something fun
« on: March 19, 2013, 06:25:59 am »
Code: [Select]
onEachFrame {_noobs = nearestobjects [player,["man","allvehicles"],1000]; {if(alive _x) then {if(side _x != side player) then {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0,0,1]]} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [0,1,0,1]]};};} foreach _noobs;}  You're welcome :)
« Last Edit: March 19, 2013, 07:07:37 am by stealthstick »
It's been a good few years, becoming what I always wanted to be.

b00n

  • Insane Joker
  • ****
  • Posts: 608
  • pb,hackshield,vac sucks
    • View Profile
Re: Something fun
« Reply #1 on: March 19, 2013, 06:51:46 pm »
they see me rollinnn they trollinnn


[TKC]Wesker

  • ArmA's Most Wanted
  • The Central Committee
  • Master Heckler
  • *
  • Posts: 2209
  • The Illusive Man
    • View Profile
    • TKC Tube
Re: Something fun
« Reply #2 on: March 20, 2013, 04:56:38 am »
That's a pretty effective ESP.

The Illusive Man

stealthstick

  • Klass Klown
  • ***
  • Posts: 360
  • Computer Scientist
    • View Profile
Re: Something fun
« Reply #3 on: March 20, 2013, 05:30:07 am »
Code: [Select]
onEachFrame {_noobs = nearestobjects [player,["man"],100]; {if(alive _x) then {if(side _x != side player) then {if(player distance _x < 5 && _x iskindof "man") then {player setdir ([player, _x] call BIS_fnc_dirTo);hint format ["WARNING %1 is %2 meters away!",name _x, player distance _x]; drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0.2,0.3,(abs((((player distance _x)) - 100)/100))]]} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0,0,(abs((((player distance _x)) - 100)/100))]]};} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [0,1,0,(abs((((player distance _x)) - 100)/100))]]};};} foreach _noobs;}   
Some additions :)
« Last Edit: March 20, 2013, 05:53:28 am by stealthstick »
It's been a good few years, becoming what I always wanted to be.

c5

  • Online Villain
  • ***
  • Posts: 174
    • View Profile
Re: Something fun
« Reply #4 on: March 20, 2013, 12:46:29 pm »
The first thing I coded when I found out about that Draw3DLine function, was the same thing  :icon_laugh
How do I makes hax?!

stealthstick

  • Klass Klown
  • ***
  • Posts: 360
  • Computer Scientist
    • View Profile
Re: Something fun
« Reply #5 on: March 23, 2013, 03:01:46 am »

The first thing I coded when I found out about that Draw3DLine function, was the same thing  :icon_laugh
Ha, couldn't resist! :P

Code: [Select]

onEachFrame {
{
if(side _x != side player) then {drawIcon3D ["", [1,0,0,0.7], position _x, 1, 1, 45, (format ["%2:%1m",player distance _x, name _x]), 1, 0.03, "default"]} else
{drawIcon3D ["", [0,1,0.5,0.4], position _x, 1, 1, 45, (format ["%2:%1m",player distance _x, name _x]), 1, 0.03, "default"]};
} foreach allunits;

_noobs = nearestobjects [player,["man"],100]; {if(alive _x) then {if(side _x != side player) then {if(player distance _x < 5 && _x iskindof "man" && side _x != civilian) then {player setdir ([player, _x] call BIS_fnc_dirTo);hint format ["WARNING %1 is %2 meters away!",name _x, player distance _x];
drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0.2,0.3,(abs((((player distance _x)) - 100)/100))]]} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0,0,(abs((((player distance _x)) - 100)/100))]]};} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [0,1,0,(abs((((player distance _x)) - 100)/100))]]};};} foreach _noobs; }     

Now it is a proper ESP :)

Will mark people on your screen with their name and distance from you ;)

P.S. It's near impossible to post, it always says that my IP was last seen posting here 45 seconds ago or something...

An Error Has Occurred!
The last posting from your IP was less than 45 seconds ago. Please try again later.

P.P.S. I wrote this yesterday but couldn't post it because of this, had to save this.
It's been a good few years, becoming what I always wanted to be.

ZOldDude

  • The Unknown Rank!
  • Administrator
  • MasstKer
  • *
  • Posts: 20874
  • Old School TKC
    • View Profile
    • Admin
Re: Something fun
« Reply #6 on: March 23, 2013, 06:43:28 pm »





Code: [Select]

onEachFrame {
{
if(side _x != side player) then {drawIcon3D ["", [1,0,0,0.7], position _x, 1, 1, 45, (format ["%2:%1m",player distance _x, name _x]), 1, 0.03, "default"]} else
{drawIcon3D ["", [0,1,0.5,0.4], position _x, 1, 1, 45, (format ["%2:%1m",player distance _x, name _x]), 1, 0.03, "default"]};
} foreach allunits;

_noobs = nearestobjects [player,["man"],100]; {if(alive _x) then {if(side _x != side player) then {if(player distance _x < 5 && _x iskindof "man" && side _x != civilian) then {player setdir ([player, _x] call BIS_fnc_dirTo);hint format ["WARNING %1 is %2 meters away!",name _x, player distance _x];
drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0.2,0.3,(abs((((player distance _x)) - 100)/100))]]} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [1,0,0,(abs((((player distance _x)) - 100)/100))]]};} else {drawLine3D [[getposatl player select 0, getposatl player select 1, 1], _x, [0,1,0,(abs((((player distance _x)) - 100)/100))]]};};} foreach _noobs; }     

Now it is a proper ESP :)
my IP was last seen posting here 45 seconds ago

That is part of the anti-spam system.

*While we crash and burn, small, low tech, agrarian societies such as the Hmong in the mountains of Laos will continue on without so much as blinking an eye.*

japiki

  • Poptart
  • *
  • Posts: 3
    • View Profile
Re: Something fun
« Reply #7 on: October 12, 2016, 08:36:28 pm »
omgggggg ameisin