Big Problem with NPC
#7

Код:
if(IsPlayerNPC(playerid)) //Verifica daca playerul este NPC
  {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname)); //Luam numele NPCului
    if(!strcmp(npcname, "LSBus", true)) //Verificam daca numele NPCului este "NUME"
    {
		  
			SetPlayerSkin(playerid,0);
		  PutPlayerInVehicle(playerid, NPCVehicle, 0); //Punem NPCul in vehicul
    }
    return 1;
  }
This ?
Reply


Messages In This Thread
Big Problem with NPC - by DavidPaul - 20.06.2010, 05:55
Re: Big Problem with NPC - by DJDhan - 20.06.2010, 05:58
Re: Big Problem with NPC - by DavidPaul - 20.06.2010, 06:00
Re: Big Problem with NPC - by DJDhan - 20.06.2010, 06:01
Re: Big Problem with NPC - by DavidPaul - 20.06.2010, 06:01
Re: Big Problem with NPC - by DJDhan - 20.06.2010, 06:03
Re: Big Problem with NPC - by DavidPaul - 20.06.2010, 06:05
Re: Big Problem with NPC - by DJDhan - 20.06.2010, 06:09
Re: Big Problem with NPC - by DavidPaul - 20.06.2010, 06:14
Re: Big Problem with NPC - by DJDhan - 20.06.2010, 06:24

Forum Jump:


Users browsing this thread: 1 Guest(s)