Documentation

Commands

Commands and default keybinds.

Arguments inside [square brackets] are optional. Use / in chat; omit it in F8. These commands run in game.

#Admin Commands

Every command needs the command ACE permission, checked through zyke_lib. Except for /grindprop, take the grinder out first. The command names are not configurable.

TitleDescriptionCommand(s)
Example GrindRuns an example grind just above the ground in front of you through the StartGrind export and notifies you when it completes. Its code is in client/unlocked/examples.lua./grindexample
Test GrindOpens a real grind session on the spot in front of you without witness checks, and prints the result, time taken, disc wear, and battery drain to chat and the F8 console./grindtest [stages]
Preview Work AnimationPlays the next candidate grinding animation with the grinder and sparks, or the given dict, clip, and flag. Prints the values to paste into grinding.anim and where the animation holds the disc edge. stop ends the preview./grindpose [dict clip flag | stop]
Tune Grinding GripDuring /grindpose, sets one grip value live. x, y, and z move the grinder, and rx, ry, and rz rotate it. Without arguments, prints the grip to paste into grinding.grip. reset drops the tuning./grindprop [axis value | reset]

/grindtest takes skill check presets (easy, medium, hard) and a number of seconds for each stage. | starts the next stage. Without arguments, it runs one easy stage of 2 seconds. The grind's disc wear uses durabilityLoss.

text
/grindtest easy medium 3 | hard 4
/grindpose mini@repair fixing_a_ped 49
/grindprop rz -80

Changes found with /grindpose and /grindprop only apply to your client. Paste the printed values into shared/unlocked/config.lua and restart the resource to keep them.

#Default Keybinds

ActionDefault Key
Cut the aimed-at grinder pointE
Put the grinder awayX
Open the grinder menuR
Push the disc in during a pressure cutLeft mouse button, E, or Space
Stop a pressure cutX

Keys can be remapped under Esc > Settings > Key Bindings > FiveM. Defaults are set under Config.Settings.grinder.keys and grinding.pressure.keys. A use press with no grinder point aimed at is left to other resources on the same key.