[AJU]Dъvida sobre como criar NPC
#9

Tem ,

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, "Leatherface", true)) // nome do bot la, copiei do meu script, q no caso o nome й leatherface
{
SetPlayerSkin(playerid,162); // Skin
return 1;
}
return 1;
}
Reply


Messages In This Thread
[AJU]Dъvida sobre como criar NPC - by BiieL - 12.07.2010, 19:58
Re: [AJU]Dъvida sobre como criar NPC - by Ricardo_Saddler - 12.07.2010, 20:49
Re: [AJU]Dъvida sobre como criar NPC - by [BEP]AcerPilot - 12.07.2010, 20:51
Re: [AJU]Dъvida sobre como criar NPC - by frenetico - 12.07.2010, 21:42
Re: [AJU]Dъvida sobre como criar NPC - by V4mpiroDoidao - 12.07.2010, 21:43
Re: [AJU]Dъvida sobre como criar NPC - by BiieL - 12.07.2010, 22:15
Re: [AJU]Dъvida sobre como criar NPC - by V4mpiroDoidao - 12.07.2010, 22:23
Re: [AJU]Dъvida sobre como criar NPC - by BiieL - 13.07.2010, 16:23
Re: [AJU]Dъvida sobre como criar NPC - by felipex - 13.07.2010, 20:17
Re: [AJU]Dъvida sobre como criar NPC - by BiieL - 13.07.2010, 22:50

Forum Jump:


Users browsing this thread: 1 Guest(s)