Skip to content
MINIONBOTS edited this page Jan 5, 2015 · 12 revisions

GameHacks

  • Here you will be able to find any hacks that are included in the API.

Attributes

permasprint
Returns the status of permasprint (boolean).

Functions

GameHacks:TeleportToXYZ(X,Y,Z)
Teleports you towards the position X,Y,Z.
GameHacks:TeleportToCursorPosition()
Teleports you to the "world-position" where your mouse is hovering above.
GameHacks:SetPermaSprint(boolean)
Toggles permasprint.
GameHacks:PlaySound(xxx)
Plays an ingame sound. xxx can be any number from 0 to 71 for different sounds
GameHacks:SkipCutscene(bool)
Toggles the playing of cutscenes on and off
GameHacks:SetPermaBuff(buffID,true/false,duration)
Toggles the buff with buffID on/off, in case of turning it on, you need to pass the wanted duration

Events

Radar.ObjectLeftClick
Event that gets triggered when someone performs a left-mouse click on a object shown on the 2D radar.
Radar.ObjectRightClick
Event that gets triggered when someone performs a right-mouse click on a object shown on the 2D radar.
function wt_radar.ObjectLeftClick(event, id)
	d("Clicked on " .. id)
end
RegisterEventHandler("Radar.ObjectLeftClick",wt_radar.ObjectLeftClick)