Implemented features: - High-performance Rust extension with Redis persistence - Actor/player management with loadout, position, and state tracking - Banking system with deposit, withdraw, and transfer operations - Physical and virtual garage/locker systems for vehicle and equipment storage - Organization management with member tracking and permissions - Client-side UI with React-like state management - Server-side event-driven architecture with CBA Events - Security: Self-transfer prevention at multiple layers - Logging system with per-module log files - ICOM module for inter-server communication Co-Authored-By: Warp <agent@warp.dev>
16 lines
579 B
Plaintext
16 lines
579 B
Plaintext
#include "script_component.hpp"
|
|
|
|
[{
|
|
EGVAR(actor,ActorClass) get "isLoaded";
|
|
}, {
|
|
("NotificationHudLayer" call BFUNC(rscLayer)) cutRsc ["RscNotifications", "PLAIN"];
|
|
[] call FUNC(openUI);
|
|
if (isNil QGVAR(NotificationClass)) then { [] call FUNC(initNotificationClass); };
|
|
}] call CFUNC(waitUntilAndExecute);
|
|
|
|
[QGVAR(recieveNotification), {
|
|
params [["_type", "", [""]], ["_title", "", [""]], ["_content", "", [""]], ["_duration", 4000, [4000]]];
|
|
|
|
GVAR(NotificationClass) call ["create", [_type, _title, _content, _duration]];
|
|
}] call CFUNC(addEventHandler);
|