Skip to content

Callout class

Daniel K edited this page Mar 26, 2020 · 8 revisions

If you want to create a new callout, you must inherit the Callout class. Never inherit BaseScript from CitizenFX.Core as the callout manager (which is basically a plugin loader) would not load your callout properly (or not even try) and gives you more chance to generate errors.

By not inherinting BaseScript, you'll have limited functionalities (eg. TriggerServerEvent, TriggerEvent is not usable yet), but thats just enough to make almost every callout that you'd like.

Instead, we've made wrapper methods to enable the most important methods, such as the Tick event and many more.

Clone this wiki locally