CityRP Documentation Repository

cityrp.legacy.internet

Shared utilities for Internet player interaction.

Functions

SharedDICK() → boolean|PlayerSource ☍

Gets Dick's player entity, if he's online.

Returns

  1. boolean|PlayerThe player object if online, false otherwise.
SharedINTER_CHAT(_)Source ☍

Outputs the given values to Internet's chatbox.

Parameters

  • anyThe values to display to Internet.
SharedINTER_ENT() → boolean|EntitySource ☍

Gets the entity Internet's eye trace is hitting.

Returns

  1. boolean|EntityThe hit entity on success, false otherwise.
SharedINTER_EYE() → boolean|tableSource ☍

Gets Internet's eye trace.

Returns

  1. boolean|tableThe eye trace table on success, false otherwise.
SharedINTERNET() → boolean|PlayerSource ☍

Gets Internet's player entity, if he's online.

Returns

  1. boolean|PlayerThe player object if online, false otherwise.