Okay what i was trying is to create a ped on players position which did not work like doing so (i don't know why it is not working because it returns coords)
const localPlayer = mp.players.local;
let Ped = mp.peds.new(mp.game.joaat('ig_abigail'), new mp.Vector3(localPlayer.position.x, localPlayer.position.y, localPlayer.position.z), 270.0, (streamPed) => {
// Ped Streamed
streamPed.setAlpha(255);
streamPed.freezePosition(true);
}, 0);
but using coords its working now:
let Ped = mp.peds.new(mp.game.joaat('ig_abigail'), new mp.Vector3(429.6809387207031, -975.9828491210938, 30.710344314575195), 270.0, (streamPed) => {
// Ped Streamed
streamPed.setAlpha(255);
streamPed.freezePosition(true);
}, 0);
Funfact: If you shoot the ped, the game crashes