Scripting/Squirrel/Functions/Player.Redirect

From Vice City Multiplayer
Revision as of 10:53, 26 April 2019 by Dracc (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Caution icon
This wiki is using an old backup from 2020
Some information may be old/missing

Send player to another server.

Syntax

player.Redirect(ip, port, nickname, serverpass, userpass);

Arguments

  • string ip Target server IP address
  • integer port Target server port
  • string nickname ?
  • string serverpass Target server password
  • string userpass User password

Example

This page needs an example. We will try our best to complete the wiki as soon as possible.

Related Functions

Player Game Functions

These functions exist for compatibility with the R2 Squirrel server.