🖊️
onecrack
  • Onecrack
  • onecrack api
    • Autostop
    • UserCMD
    • Exploit
    • Globals
    • General
    • GrenadePrediction
    • UI
    • Entity
    • Render
    • Convar
    • Event
    • Trace
    • Sound
    • Local
    • Cheat
    • Input
    • World
    • AntiAim
    • Ragebot
    • Material
    • View
    • DataFile
Powered by GitBook
On this page
  • CreateLightningStrike
  • GetModelIndex
  • GetMapName

Was this helpful?

  1. onecrack api

World

CreateLightningStrike

Parameters: boolean sound, array position

World.CreateLightningStrike(sound, position)

[EN] Used to create lightning strike. [RU] Используется для создания удара молнии.

GetModelIndex

Parameters: model_path

World.GetModelIndex(model_path_string)

[EN] Used to get index of a model. [RU] Используется для получения индекса модели.

GetMapName

current_map = World.GetMapName();

[EN] Returns current map name. [RU] Возвращает текущее название карты.

PreviousInputNextAntiAim

Last updated 3 years ago

Was this helpful?