How to Disable this ?
#9

@Clad if i want to put Invisible for all Players on my RolePlay server how to do it ?

Like that ?
Quote:

public OnPlayerSpawn(playerid)
{
if(IsPlayerNPC(playerid)) //Checks if the player that just spawned is an NPC.
{
new npcname[MAX_PLAYER_NAME];
GetPlayerName(playerid, npcname, sizeof(npcname)); //Getting the NPC's name.
if(!strcmp(npcname, "Tram_Driver", true)) //Checking if the NPC's name is MyFirstNPC
{
SetPlayerMarkerForPlayer( 42, 1, 0xFFFFFF00 );
PutPlayerInVehicle(playerid, SFTramVehicle, 0); //Putting the NPC into the vehicle we created for it.
}
}

because in wiki it say :

Quote:

// Make player 42 see player 1 as a red marker

but i don't want to none see Player 1 as a red marker
Reply


Messages In This Thread
How to Disable this ? - by Tidzii - 20.06.2014, 20:01
Re: How to Disable this ? - by Konstantinos - 20.06.2014, 20:02
Re: How to Disable this ? - by Jefff - 20.06.2014, 20:04
Re: How to Disable this ? - by Tidzii - 20.06.2014, 20:16
Re: How to Disable this ? - by Jefff - 20.06.2014, 20:19
Re: How to Disable this ? - by Tidzii - 20.06.2014, 21:05
Re : How to Disable this ? - by Clad - 20.06.2014, 21:09
Re: How to Disable this ? - by Konstantinos - 20.06.2014, 21:17
Re: Re : How to Disable this ? - by Tidzii - 20.06.2014, 21:44
Re: How to Disable this ? - by Vince - 20.06.2014, 21:58

Forum Jump:


Users browsing this thread: 1 Guest(s)