SA-MP Forums Archive
Mark Position Radar [REP+] - 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: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Mark Position Radar [REP+] (/showthread.php?tid=340166)



Mark Position Radar [REP+] - Champ - 06.05.2012

I want a command which can mark other players position on radar. It shows their position & can only be used by Rcon admin.. Can you make for me?


Re: Mark Position Radar [REP+] - NewerthRoleplay - 06.05.2012

Look on the wiki next time, https://sampwiki.blast.hk/wiki/SetPlayerMarkerForPlayer


Re: Mark Position Radar [REP+] - Champ - 07.05.2012

I know that.

But i want script not links. Please make a command /markplayerpos <id> or /mpp <id> which can show location of specific player in radar & can be run only by rcon admin.
Thank you


Re: Mark Position Radar [REP+] - HDFord - 07.05.2012

pawn Код:
if(strcmp("/showmarkeronmap 1",cmdtext,true) == 0)
{
If(IsPlayerAdmin(playerid))
{
SetPlayerMarkerForPlayer(1,playerid,0xFFFFFFFF);
}
else
{
}
return 1;
}



Re: Mark Position Radar [REP+] - NewerthRoleplay - 07.05.2012

Quote:
Originally Posted by HDFord
Посмотреть сообщение
pawn Код:
if(strcmp("/showmarkeronmap 1",cmdtext,true) == 0)
{
If(IsPlayerAdmin(playerid))
{
SetPlayerMarkerForPlayer(1,playerid,0xFFFFFFFF);
}
else
{
}
return 1;
}
Indention OCD XD


Re: Mark Position Radar [REP+] - Champ - 08.05.2012

Quote:
Originally Posted by HDFord
Посмотреть сообщение
pawn Код:
if(strcmp("/showmarkeronmap 1",cmdtext,true) == 0)
{
If(IsPlayerAdmin(playerid))
{
SetPlayerMarkerForPlayer(1,playerid,0xFFFFFFFF);
}
else
{
}
return 1;
}
Okay.. but i want the maker only shown for rcon admin not all players..

Thank you