how to get fnpc name?
#2

Save the name in some var.

pawn Code:
enum npcs_info
{
    id,
    name[30]
};

new Zm[MAX_PLAYERS][npcs_info];

Zm[Aiid][id] = FCNPC_Create("Npcfisher1");
format(Zm[Aiid][name], 30, "Npcfisher1");

if(!strcmp("name","Zm[Aiid][name])) //names equals
{
}
else //...
Reply


Messages In This Thread
how to get fnpc name? - by parames3010 - 20.05.2018, 15:47
Re: how to get fnpc name? - by CyNiC - 20.05.2018, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)