Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 03/28/22 in Files

  1. Version 1.0.0

    411 downloads

    Hello again, Ragers. This minigame is the same as the one in the base game heists. It's purely scaleform, and no CEF. (Thanks to Develuxe for C# version) Simply put this into client_packages, and add this to your index.js: require('./CircuitBreaker'); It has three events: CircuitBreakerWIN - This event is called on the client when the client player has successfully won the minigame CircuitBreakerLOSE - This event is called on the client when the client player quits, or fails to complete the minigame CircuitBreakerStart - This event is callable on the client (from server with player.call), and is used as follows: // Lives (any number), this number is the total amount of lives for all levels // Difficulty (0-4), where 0 is easiest and 4 is hardest // Level Count (1-6), how many levels have to be completed player.call('CircuitBreakerStart', /* lives */ 3, /* difficulty */ 1, /* level count */ 2);
    1 point
  2. Version 1.0.0

    231 downloads

    Minigame from the original heist update, done with scaleform without CEF. Installing: Put all files in client_packages\cs_packages\ To call that script: Event name: CircuitBreakerStart Event args: Count of Lives (1 - 10) Difficulty Level (0 - 4) (0 is beginner, 4 is expert) Levels to complete (1 - 6) C# Server Example: player.TriggerEvent("CircuitBreakerStart", 5, 1, 6); Game results events: CircuitBreakerWIN - is called at client side, when player succeed at all levels, no args. CircuitBreakerLOSE - is called at client side, when player quits (Q button) OR lost all his lives, no args. If you are using JS client side: You need to create 2 events (described above) at your client side to catch game results. If you are using C# client side: You can just modify 2 methods inside Main.cs, which already contains both methods to catch game results. Minigame Preview, done on this system:
    1 point
×
×
  • Create New...