PDA

View Full Version : Mark Position Radar [REP+]


Champ
06/05/2012, 08:25 AM
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?

NewerthRoleplay
06/05/2012, 08:28 AM
Look on the wiki next time, http://wiki.sa-mp.com/wiki/SetPlayerMarkerForPlayer

Champ
07/05/2012, 09:10 AM
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

HDFord
07/05/2012, 09:28 AM
if(strcmp("/showmarkeronmap 1",cmdtext,true) == 0)
{
If(IsPlayerAdmin(playerid))
{
SetPlayerMarkerForPlayer(1,playerid,0xFFFFFFFF);
}
else
{
}
return 1;
}

NewerthRoleplay
07/05/2012, 10:31 PM
if(strcmp("/showmarkeronmap 1",cmdtext,true) == 0)
{
If(IsPlayerAdmin(playerid))
{
SetPlayerMarkerForPlayer(1,playerid,0xFFFFFFFF);
}
else
{
}
return 1;
}

Indention OCD XD

Champ
08/05/2012, 03:36 PM
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