[FilterScript] Map-radar
#1

I present to you my next script, this time it is a map-radar of players with some info about them.

We both started working with this guy, but he published the beta version, whereas I decided to finish my first.

Control on the dialog;
Support any amount of players;
The icons of players are depicted as square as on the original map;
You have opportunity to include additional information about the players on the radar;
And customize this information very simple
You can change between Low Res. and High Res. maps;

pawn Code:
/map - for start using radar
Full-screen non-transperent map;
The script included in the color for more than 500 players (the so-called "rainbow array") - no color is repeated.

The script also includes a 83 NPCs (for test radar) - you must deleted them and uncomment 397 line.

http://pastebin.com/Lcr3ZKqu

This is not plagiarism, it is the parallel development!
Reply
#2

Quote:
Originally Posted by OKStyle
View Post
We both started working with this guy, but he published the beta version, whereas I decided to finish my first.
But I do a bit earlier finished)
The works are different and it's great.
Reply
#3

True, I like it too :P
Reply
#4

A more optimal timer:
pawn Code:
for(new i, j = GetMaxPlayers(); i != j; i++)
{
    TextDrawHideForAll(Player[i]);
    TextDrawDestroy(Player[i]);
    TextDrawHideForAll(Stats[i]);
    TextDrawDestroy(Stats[i]);
}
new Float:x, Float:y, Float:z, PlayerName[MAX_PLAYER_NAME], Float:HP, Float:AP, string[128];
for(new i, j = GetMaxPlayers(); i != j; i++)
{
    if(!IsPlayerConnected(i)) continue;
//  if(IsPlayerNPC(i)) continue;
    GetPlayerPos(i, x, y, z);
    if(y < -3000 || y > 3000 || x < -3000 || x > 3000) continue;
    new Float:PosX, Float:PosY;
[.....]
replace with
pawn Code:
static Float:x, Float:y, Float:z, PlayerName[MAX_PLAYER_NAME], Float:HP, Float:AP, string[128];
for(new i, j = GetMaxPlayers(); i != j; i++)
{
    TextDrawHideForAll(Player[i]);
    TextDrawDestroy(Player[i]);
    TextDrawHideForAll(Stats[i]);
    TextDrawDestroy(Stats[i]);

    if(!IsPlayerConnected(i)) continue;
//  if(IsPlayerNPC(i)) continue;
    GetPlayerPos(i, x, y, z);
    if(y < -3000 || y > 3000 || x < -3000 || x > 3000) continue;
    new Float:PosX, Float:PosY;
Reply
#5

Is this for the cool 0.3c version or for the stupid 0.3d version?
Reply
#6

You can only use textures as you want in the "stupid" 0.3d version so it's for 0.3d
Reply
#7

Quote:
Originally Posted by MakuPL
View Post
A more optimal timer
This was not done out of ignorance, if differently - blocks on the map is not there a special meaning in the order and number of cycles.

May be, when the limit of textdraws will increase to ten thousands, I can make SA-map by them
Reply
#8

look nice bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)