An entity can hold variables and functions which can be accessed globally.
The syntax for calling a function by an entity is as follows:
Note:
Alternatively the keyword
In order to call a method from another gsc file one has to type out the whole path
Examples
The syntax for calling a function by an entity is as follows:
- Code:
entityName functionName(params);
Note:
Alternatively the keyword
- Code:
thread
In order to call a method from another gsc file one has to type out the whole path
- Code:
::
- Code:
functionName(params);
Examples
- Code:
self waittill("TMS");
- Code:
self thread maps\mp\gametypes\_hud_message::hintMessage("Welcome to Bully@WiiPlaza's Lobby!");
- Code:
maps\mp\gametypes\_hud_message
- Code:
weapon = player GetCurrentWeapon();