This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
YimMenu/docs/lua/classes/script_util.md

422 B

Class: script_util

Class for gta script utils, the instance is usually given to you.

Functions (2)

yield()

Yield execution.

Example Usage:

script_util:yield()

sleep(ms)

Sleep for the given amount of time, time is in milliseconds.

  • Parameters:
    • ms (integer): The amount of time in milliseconds that we will sleep for.

Example Usage:

script_util:sleep(ms)