ragemp-types
ragemp-types copied to clipboard
CEF - Missing functions
Missing Type
addProc() missing for CEF. It is possible to add Proc Events in CEF.
It's same syntax as the clientside definition
Proof that this type exists.
CODE:
cef
client
server
PROOF:
Before
After
Additional Information/Comments
There is currently a cef -> client side bug. Keeps returning undefined but xday said he may push out a fix soon.
I recommend putting in the function definition that the callback is bugged.
I also recommend adding a definition to BroswerMp.callProc() that it calls an event set with addProc() inside a browser since I see the wiki definition as being hard to understand.