14 {
16 {
19 }
21 {
23 if (
m_ActionData.m_MainItem.ConfigIsExisting(
"writingColor"))
24 {
26 }
27 else
28 {
30 }
32 paper_item.RPCSingleParam(
ERPCs.RPC_WRITE_NOTE, text,
true,
m_ActionData.m_Player.GetIdentity());
33 }
34 }
class GP5GasMask extends MaskBase ItemBase
proto native UIManager GetUIManager()
override WrittenNoteData GetWrittenNoteData()
UIScriptedMenu FindMenu(int id)
Returns menu with specific ID if it is open (see MenuID)
proto native CGame GetGame()
static const int STATE_NONE
undef state - not running anymore
static const int STATE_LOOP_LOOP