How do I count other players on the screen(other people) I want my mining script to switch worlds if more than 3 are mining at my spot aha, thanks in advance!
How do I count other players on the screen(other people) I want my mining script to switch worlds if more than 3 are mining at my spot aha, thanks in advance!
My Scripts<3
Drawboy's Choco-Duster
try the minimap include. its something like count mmdots or something.
umm create a TPA of the white color on the MM, then according to the size of the tpa, it will determine how many ppl are around u?
I believe there is a function for this in minimap...give me a sec to look for it
E: This should work.
Simba Code:(*
CountDots
~~~~~~~~~
.. code-block:: pascal
function CountDots(WhatDot: String): integer;
Counts the occurance of WhatDot on the MiniMap. See `GetMiniMapDots` in
for more information.
.. note::
by Nava2
Example:
.. code-block:: pascal
WriteLn(ToStr(CountDots('yellow')) + ' NPCs present on Minimap.');
*)
function CountDots(WhatDot: String): integer;
begin
Result := Length(GetMinimapDots(WhatDot));
end;
Currently: Working on Defending&Attacking in my Castle-Wars ScriptProject Rebuild: 90M/170M
There are currently 1 users browsing this thread. (0 members and 1 guests)