Hey,
I heard that there is a (srl?) function to count the players on the minimap.
How's that called ?
~caused
EDIT.. NVM Its PlayersOnMap![]()
Hey,
I heard that there is a (srl?) function to count the players on the minimap.
How's that called ?
~caused
EDIT.. NVM Its PlayersOnMap![]()
Last edited by caused; 06-20-2009 at 07:53 PM. Reason: EDIT.. NVM Its PlayersOnMap :D
In the new SRL revision #35, it is CountDots.
Yup, found it out now xD... though, when I use CountDots('Player')... It messes up this part and creates an acces violation in scar.exe... so i commented it out :3...
// if (WhatDot = 'player') or (WhatDot = 'white') then
// begin
// InvertTPA(Result);
// SetLength(Result, Length(Result) - 1);
// InvertTPA(Result);
// end;
Hmm, in all honesty, idk why it even inverts the tpa.
Writing an SRL Member Application | [Updated] Pascal Scripting Statements
My GitHub
Progress Report:13:46 <@BenLand100> <SourceCode> @BenLand100: what you have just said shows you have serious physchological problems 13:46 <@BenLand100> HE GETS IT! 13:46 <@BenLand100> HE FINALLY GETS IT!!!!1






why not just do this
SCAR Code:Swap(Result[0], Result[High(result)]);
SetLength(Result, Length(Result)-1);
or this
SCAR Code:for i := 0 to high(result) do
if InRange(Result[i].x, MMCX-3, MMCX+3) then
if InRange(Result[i].y, MMCY-3, MMCY+3) then
begin
swap(result[i], result[high(result)]);
SetLength(result, high(result));
end;
i really don't think inverting 2x is the fastest way
Last edited by marpis; 06-20-2009 at 09:31 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)