#1 of all, you CAN NOT create a native, the native functions are hard coded into the game, only R* can create/modify them. So you can use this native to walk a ped: https://runtime.fivem.net/doc/natives/#_0xD76B57B44F1E6F8B