Scripting/Server/Events/onPlayerIslandChange

The player crossed to another island. 1 = Portland, 2 = Staunton Island, 3 = Shoreside Vale.

Syntax

onPlayerIslandChange(player, oldIsland, newIsland)

Arguments

Example

function onPlayerIslandChange( player, oldIsland, newIsland )
{
	MessagePlayer( "onPlayerIslandChange fired", player );
}

This sample was generated from the signature – adapt the values to your gamemode.

Section: World

Categories: Server events | World