PDA

View Full Version : ShowPlayerMarkers Problem


Akcent_Voltaj
08/03/2013, 02:11 PM
how can i make so if isplayeradmin logs in rcon..only he sees marker and not whole svr..can i do it??only if im logged in rcon..



if(strcmp(cmd, "/blips", true) == 0)
{
ShowPlayerMarkers(0);
}
else
{
ShowPlayerMarkers(1);
}

L.Hudson
08/03/2013, 02:12 PM
I don't think that it's possible to script that :)

Akcent_Voltaj
08/03/2013, 02:16 PM
you sure??

DaRk_RaiN
08/03/2013, 02:38 PM
//He will be invisible
if(strcmp(cmd, "/blips", true) == 0)
{
if(!IsPlayerAdmin(playerid))return SendClientMessage(playerid,-1,"You Can't Use This Command");
for(new i =0; i < MAX_PLAYERS;i++)
{
SetPlayerMarkerForPlayer( playerid, i, 0xFFFFFF00 );
}
return 1;
}