ONplayerSpawn(playerid){ if(IsPlayerNPC(playerid)){ //do stuff here SetPlayerPos//npcid = playerid }}