mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01:00
feat(web/skillcheck): random skill check key from inputs table
This commit is contained in:
@@ -2,10 +2,13 @@ import { debugData } from '../../../utils/debugData';
|
||||
import { GameDifficulty } from '../../skillcheck';
|
||||
|
||||
export const debugSkillCheck = () => {
|
||||
debugData<GameDifficulty | GameDifficulty[]>([
|
||||
debugData<{ difficulty: GameDifficulty | GameDifficulty[]; inputs?: string[] }>([
|
||||
{
|
||||
action: 'startSkillCheck',
|
||||
data: ['easy', 'easy', 'hard'],
|
||||
data: {
|
||||
difficulty: ['easy', 'easy', 'hard'],
|
||||
inputs: ['W', 'A', 'S', 'D'],
|
||||
},
|
||||
},
|
||||
]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user