new npcname[MAX_PLAYER_NAME]; GetPlayerName(playerid, npcname, sizeof(npcname)); if(!strcmp(npcname, "NPCNAME", true)) { ApplyAnimation(playerid," ", ", , , , , ,); //Don't forget the ID return 1; }