Streaming::forceStreamingUpdate
Not available on SYNC MP yet
This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.
Forcefully update ('reload') streaming.
JavaScript
Return Value
- void void
Syntax
mp.game.streaming.forceStreamingUpdate();
Example
Client-Side
const [position, dimension, heading] = [mp.players.local.position, mp.players.local.dimension, mp.players.local.getHeading()];
const ped = mp.peds.new(mp.game.joaat("mp_m_freemode_01"), position, heading, dimension);
ped.model = mp.game.joaat("mp_f_freemode_01");
mp.game.streaming.forceStreamingUpdate(); //force update streaming