20.06.2014, 20:01 
	
	
	
		Hey Guys, i have a NPC on my server and i want to remove the Marker from Map, i want him to be invisible in map !!
	
	
	
	
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
    	{
      	PutPlayerInVehicle(playerid, SFTramVehicle, 0); //Putting the NPC into the vehicle we created for it.
    	}
  	}
 please ?
 please ?
	| 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. } } | 
SetPlayerColor(playerid, 0x00000000);
| 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. } } | 
| // Make player 42 see player 1 as a red marker |