RAGE.Events.CallRemote

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Triggers a server-side script event call from client-side.

Syntax

Events.CallRemote(String eventName,params Object[] args)


Example

C# Syntax
C.png

private void login(object[] args)
{
   Events.CallRemote("check_login",args[0],args[1]);
}

// We have received the username and password from the player and now we are sending it to the server-side.