onCreateRoomError()

Availability:

SmartFoxServer Lite / Basic / Pro

Usage:

smartFox.onCreateRoomError(errorMsg <String>)

Description:

The event is fired when an error occurs while trying to create a new room with the createRoom() method.
Usually this happens when a client tries to create a room but its name is already taken.

Parameters:

errorMsg   The error message from the server

Returns:

nothing

Example:

on onCreateRoomError me, errorMsg 
	put("Could not create room. Server said: " & errorMsg)
end

See also: