Allows player to update their model, skin, bodygroups, weapon color and player color in real time!
Written in Yuescript, compiled Lua code can be found in releases, or you can compile it yourself using compiled Yuescript Compiler.
All functions and hooks are shared, which means they exist on both the server and the client.
A table with all server-side callbacks, it does not exist on the client!
Adds callback to convar, must be added on both client and server side to work, client side callback is optional.
Called after the RPU is fully loaded, the first argument is rui.Register function.
Called before the callback is executed and allows you to block it by returning false here.
Called after RPUChange
, additional network data can be written here on the client side, which can be read in RPUChange
and RPUChanged
on the server side using net library.