SA-MP Forums Archive
[HELP]SetPlayerMakerToPlayer()---PROBLEM SOLVED--- - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: [HELP]SetPlayerMakerToPlayer()---PROBLEM SOLVED--- (/showthread.php?tid=129838)



[HELP]SetPlayerMakerToPlayer()---PROBLEM SOLVED--- - Epic Shower - 23.02.2010

Hello i need help with making players only being able to see other players markers and not the NPCs marker.
I know it's possible because i've seen it in a Zombie server wich Zombies were'nt visible and only players were.
I've tryed setting:

new npcname[MAX_PLAYER_NAME];

if(!strcmp(npcname, "BOT", true))
{
SetPlayerMarkerToPlayer(playerid, showplayerid, 00);
return 1;
}

But instead of being set only for the BOT it is set for everyone.


Re: Need help With ShowPlayerMarkers() !!! - Correlli - 23.02.2010

Quote:
A function that can be used in OnGameModeInit to enable or disable the players markers, which would normally be shown on the radar. If you want to change the marker settings at some other point in the gamemode, have a look at SetPlayerMarkerForPlayer which does exactly that.



Re: Need help With ShowPlayerMarkers() !!! - Epic Shower - 23.02.2010

Thanks bro.
I'm going to try that.


Re: Need help With ShowPlayerMarkers() !!! - Epic Shower - 23.02.2010

Sorry but could you pust an example?
I'm confused with that function :/


Re: Need help With ShowPlayerMarkers() !!! - Epic Shower - 26.02.2010

bump


Re: Need help With ShowPlayerMarkers() !!! - Correlli - 26.02.2010

You have enough examples on the wiki and on this forum.


Re: Need help With ShowPlayerMarkers() !!! - Epic Shower - 28.02.2010

Where can i post the link with one of them ?


Re: Need help With ShowPlayerMarkers() !!! - Epic Shower - 09.03.2010

BUMP!


Re: Need help With ShowPlayerMarkers() !!! - Onyx09 - 09.03.2010

use the bottom search

SetPlayerMarkerForPlayer


Re: Need help With ShowPlayerMarkers() !!! - Epic Shower - 09.03.2010

Didn't find anything