-------------------------------------------------------
--Acquire a target checking space around player
-------------------------------------------------------
--local pEntities = Game:GetEntitiesScreenSpace("Bip01 Head");
--Game:GetPlayerEntitiesInRadius(pos, radius, players);
--float: The radius, within the function checks.
--Table: Store the found entities in here.
--int: [Optional] 0 = returns alive and trackable entities only,
--1 = returns all entities
--Return: none
function TargetLocker:AcquireRadTarget()
if(_localplayer)then
local pos=_localplayer.cnt:GetPos();
if(pos)then
printf("Entity acquired");
Game:GetPlayerEntitiesInRadius(pos, radius, RadTargets);
end
end
end
--Acquire a target checking space around player
-------------------------------------------------------
--local pEntities = Game:GetEntitiesScreenSpace("Bip01 Head");
--Game:GetPlayerEntitiesInRadius(pos, radius, players);
--float: The radius, within the function checks.
--Table: Store the found entities in here.
--int: [Optional] 0 = returns alive and trackable entities only,
--1 = returns all entities
--Return: none
function TargetLocker:AcquireRadTarget()
if(_localplayer)then
local pos=_localplayer.cnt:GetPos();
if(pos)then
printf("Entity acquired");
Game:GetPlayerEntitiesInRadius(pos, radius, RadTargets);
end
end
end
Черт его знает, то ли ты не такой, то ли я.
Вряд ли бы я смогла с тобой жить.
между прочим по поводу цели - согласна.. как бы прискорбно это не звучало.