ragempcommunity/ragemp-types

CEF - Missing functions

Opened this issue · 0 comments

Missing Type

addProc() missing for CEF. It is possible to add Proc Events in CEF.
It's same syntax as the clientside definition
image

Proof that this type exists.

CODE:
cef
image
client
image
server
image

PROOF:
Before
image
After
image

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.
image