SA-MP Forums Archive
[FilterScript] Players on the map [0.3d RC5-3][BETA VERSION] - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Players on the map [0.3d RC5-3][BETA VERSION] (/showthread.php?tid=290623)



Players on the map [0.3d RC5-3][BETA VERSION] - Igorek - 16.10.2011

This fs specifies the location of players and puts on a map.



---------------------------------------------------------


Map to the players.------------Admin map.


Admin can press LBM or Enter to start teleport.
Choose a place can be buttons: up,down,left,right. Then press LBM or ENTER.

-Rcon-admin shows hp and armour players.
- Pay'n'Spray already marked on the map
-You can create an icon on the map:
CreateIcon (const ID, Float: x, Float: y)

ID - the number icon. List: https://sampwiki.blast.hk/wiki/MapIcons
Important: Do not use id 1 and 3.
x - x-coordinate
y - y-coordinate
Tip: Use the / save for the determination of the coordinates.

commands:
/map - on/off map

Downlload: http://solidfiles.com/d/0065a/


Re: Players on the map [0.3d RC5-3][BETA VERSION] - Kar - 16.10.2011

pastebin please?


Re: Players on the map [0.3d RC5-3][BETA VERSION] - Igorek - 16.10.2011

Quote:
Originally Posted by Kar
Посмотреть сообщение
pastebin please?
http://pastebin.com/Jz0ZJhha


Re: Players on the map [0.3d RC5-3][BETA VERSION] - wups - 16.10.2011

IMHO it'd look better if you used sprites for player icons.


Re: Players on the map [0.3d RC5-3][BETA VERSION] - System64 - 16.10.2011

pawn Код:
for(new i; i<MAX_PLAYERS; i++)
        {
                if(UseMap[i] == 1 && IsPlayerConnected(i))
                {
                    for(new j; j<MAX_PLAYERS; j++)
                    {
                        if(IsPlayerConnected(j))
                        {
Why 2 the same loops?


Re: Players on the map [0.3d RC5-3][BETA VERSION] - Zh3r0 - 16.10.2011

I can't find the dot :O Where is it


Re: Players on the map [0.3d RC5-3][BETA VERSION] - wups - 16.10.2011

Quote:
Originally Posted by System64
Посмотреть сообщение
pawn Код:
for(new i; i<MAX_PLAYERS; i++)
        {
                if(UseMap[i] == 1 && IsPlayerConnected(i))
                {
                    for(new j; j<MAX_PLAYERS; j++)
                    {
                        if(IsPlayerConnected(j))
                        {
Why 2 the same loops?
If you'd look closer they aren't the same.
Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
I can't find the dot :O Where is it
Yes, i also had a hard time In lv, look at the radar.


Re: Players on the map [0.3d RC5-3][BETA VERSION] - Ricop522 - 16.10.2011

Loved, will'be more awesome if you add the a icon


Re: Players on the map [0.3d RC5-3][BETA VERSION] - Kar - 16.10.2011

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
I can't find the dot :O Where is it
look at his position in the picture, it's at the highway in bone county (lv outskirts)


Re: Players on the map [0.3d RC5-3][BETA VERSION] - Igorek - 17.10.2011

fs will be updated.