WorldService Methods |
The WorldService type exposes the following members.
Name | Description | |
---|---|---|
AddStaticPickup |
Adds a 'static' pickup to the world. These pickups support weapons, health, armor etc., with the ability to function
without scripting them (weapons/health/armor will be given automatically).
| |
CreateActor |
Creates a new actor in the world.
| |
CreateExplosion |
Creates an explosion for all players.
| |
CreateGangZone |
Creates a gang zone in the world.
| |
CreateMenu |
Creates the menu in this world.
| |
CreateObject |
Creates an object in the world.
| |
CreatePickup |
Creates a pickup in the world.
| |
CreatePlayerObject |
Creates a player object in the world.
| |
CreatePlayerTextDraw |
Creates the player textdraw in the world.
| |
CreatePlayerTextLabel |
Creates a player text label in the world.
| |
CreateStaticVehicle |
Creates a static vehicle in the world.
| |
CreateTextDraw |
Creates a textdraw in the world.
| |
CreateTextLabel |
Creates a text label in the world.
| |
CreateVehicle |
Creates a vehicle in the world.
| |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GameText |
Shows 'game text' (on-screen text) for a certain length of time for all players.
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SendClientMessage(String) |
This function sends a message to all players in white in the chat. The whole line in the chat box will be in the set
color unless color embedding is used.
| |
SendClientMessage(String, Object) |
This function sends a message to all players in white in the chat. The whole line in the chat box will be in the set
color unless color embedding is used.
| |
SendClientMessage(Color, String) |
This function sends a message to all players with a chosen color in the chat. The whole line in the chat box will be in
the set color unless color embedding is used.
| |
SendClientMessage(Color, String, Object) |
This function sends a message to all players with a chosen color in the chat. The whole line in the chat box will be in
the set color unless color embedding is used.
| |
SendDeathMessage |
Adds a death to the kill feed on the right-hand side of the screen of all players.
| |
SendPlayerMessageToPlayer |
Sends a message in the name the specified sender to all players. The message will appear in the
chat box and can be seen by all player. The line will start with the the sender's name in their color, followed
by the message in white.
| |
SetObjectsDefaultCameraCollision |
Allows camera collisions with newly created objects to be disabled by default.
| |
SetWeather |
Set the weather for all players.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |