20.05.2018, 18:04
(
Last edited by CyNiC; 20/05/2018 at 06:37 PM.
)
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 //...