alt.emitServer

Example Usage

Client
const number = 56;
alt.emitServer('yourEventName', number);
Server
alt.onClient('yourEventName', (player, number) => {
    alt.log(number); // This will be 56
});

results matching ""

    No results matching ""