[HELP]SetPlayerMakerToPlayer()---PROBLEM SOLVED---
#1

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.
Reply
#2

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.
Reply
#3

Thanks bro.
I'm going to try that.
Reply
#4

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

bump
Reply
#6

You have enough examples on the wiki and on this forum.
Reply
#7

Where can i post the link with one of them ?
Reply
#8

BUMP!
Reply
#9

use the bottom search

SetPlayerMarkerForPlayer
Reply
#10

Didn't find anything
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)