Sorry. I meant adding something like this, I want to add other parameters for setunitdata something like this where npc can do these actions like player where they can sit or something else
setunitdata(getnpcid(0), UNPC_STATE, 0); /// ST_STAND = 0, ST_MOVE = 1, ST_ATTACK = 2, ///