How to put NPC in interrior???
#3

Код:
OnPlayerSpawn(playerid)
{
   if(IsPlayerNPC(playerid))
   { 
     new playername[64];
     GetPlayerName(playerid,playername,64);
      if(!strcmp(playername,"YOUR NPC NAME HERE",true))
	{
	  SetPlayerInterior(playerid,your interior id here);
 	}
   }
}
Reply


Messages In This Thread
How to put NPC in interrior??? - by Doom8890 - 12.05.2010, 11:26
Re: How to put NPC in interrior??? - by ViruZZzZ_ChiLLL - 12.05.2010, 11:39
Re: How to put NPC in interrior??? - by DJDhan - 12.05.2010, 11:41
Re: How to put NPC in interrior??? - by Doom8890 - 12.05.2010, 11:49
Re: How to put NPC in interrior??? - by ViruZZzZ_ChiLLL - 12.05.2010, 11:51

Forum Jump:


Users browsing this thread: 1 Guest(s)