C# Class DeveloperConsole.GTAFuncs

Show file Open project: Dakota628/GTAVDeveloperConsole Class Usage Examples

Public Methods

Method Description
ActivateDamageTrackerOnNetworkId ( int id, bool active ) : void
AntiBan ( ) : void
ClearAreaOfObjects ( Vector3 v, float radius, bool b = false ) : void
ClearAreaOfProjectiles ( Vector3 v, float radius, bool b = false ) : void
CreateAmbientPickup ( string hashKey, Vector3 pos, int value ) : void
DisableAllControls ( ) : List
DisableControlAction ( Control c, bool b ) : void
DisplayHud ( bool b ) : void
DisplayRadar ( bool b ) : void
DrawBox ( Vector3 v1, Vector3 v2, Color c ) : void
DrawLine ( Vector3 v1, Vector3 v2, Color c ) : void
DrawPoly ( Vector3 v1, Vector3 v2, Vector3 v3, Color c ) : void
EnableControlAction ( Control c, bool b ) : void
EnableControls ( List ctrls ) : void
GetControlNormal ( Control c ) : float
GetControlPoint ( Control c1, Control c2 ) : System.Vector2
GetControlValue ( Control c ) : int
GetCoordsFromCam ( int distance ) : Vector3
GetEntityQuaternion ( System.Entity e ) : Quaternion
GetEntityType ( System.Entity e ) : EntityType
GetFirstBlipInfoID ( int i ) : int
GetGroundPos ( System.Vector2 pos ) : Vector3
GetHashKey ( string s ) : int
GetLeftStick ( ) : System.Vector2
GetLookInputVector ( ) : System.Vector2
GetMousePos ( ) : Point
GetMoveInputVector ( ) : System.Vector2
GetNetworkID ( GTA.Player p ) : int
GetNumNetworkPlayers ( ) : int
GetPedGroupIndex ( GTA.Ped p ) : int
GetPedPlayer ( GTA.Ped ped ) : GTA.Player
GetPlayerByName ( string player ) : GTA.Player
GetPlayerEntity ( GTA.Player p ) : System.Entity
GetPlayerIndex ( GTA.Ped p ) : int
GetPlayerInvincible ( GTA.Player p ) : bool
GetRightStick ( ) : System.Vector2
GetTextWidth ( string s, GTA.Font f, float scale ) : float
IsControlEnabled ( Control c ) : bool
IsControlPressed ( Control c ) : bool
IsControlPressedIgnoreDisabled ( Control c ) : bool
IsLeftMouseClicked ( ) : bool
IsRightMouseClicked ( ) : bool
IsSelectPressed ( ) : bool
IsWaypointActive ( ) : bool
KickPlayer ( GTA.Player p ) : void
RequestEntityControl ( System.Entity e, int time = 10000 ) : System.Entity
RequestEntityControl ( GTA.Player p, int time = 10000 ) : System.Entity
SetControlActions ( bool b ) : void
SetEntityCollision ( System.Entity e, bool b, bool b1 ) : void
SetEntityGravity ( System.Entity e, bool b ) : void
SetEntityInvinc ( System.Entity e, bool b ) : void
SetEntityLoadColissionFlag ( System.Entity e, bool b ) : void
SetEntityProofs ( System.Entity e, bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7, bool b8 ) : void
SetEntityRecordsCollisions ( System.Entity e, bool b ) : void
SetInSpectatorMode ( GTA.Player p, bool spectating ) : void
SetInvincTime ( int time ) : void
SetSPInvinc ( GTA.Player p, bool b ) : void
SetTextDropShadow ( int i, Color c ) : void
SetTextEdge ( int i, Color c ) : void
SetTextRightJustifty ( bool b ) : void
ShowMouseThisFrame ( ) : void
SlotHasPlayer ( int i ) : bool
SpawnVehicleProper ( Model m, Vector3 pos ) : GTA.Vehicle
StatSetBool ( string hashKey, bool value, bool b ) : void
StatSetFloat ( string hashKey, float value, bool b ) : void
StatSetInt ( string hashKey, int value, bool b ) : void
ValidateScreenPoint ( System.Vector2 v ) : System.Vector2
WorldToScreen ( Vector3 world ) : System.Vector2

Private Methods

Method Description
SetControlAction ( Control c, bool b ) : void

Method Details

ActivateDamageTrackerOnNetworkId() public static method

public static ActivateDamageTrackerOnNetworkId ( int id, bool active ) : void
id int
active bool
return void

AntiBan() public static method

public static AntiBan ( ) : void
return void

ClearAreaOfObjects() public static method

public static ClearAreaOfObjects ( Vector3 v, float radius, bool b = false ) : void
v Vector3
radius float
b bool
return void

ClearAreaOfProjectiles() public static method

public static ClearAreaOfProjectiles ( Vector3 v, float radius, bool b = false ) : void
v Vector3
radius float
b bool
return void

CreateAmbientPickup() public static method

public static CreateAmbientPickup ( string hashKey, Vector3 pos, int value ) : void
hashKey string
pos Vector3
value int
return void

DisableAllControls() public static method

public static DisableAllControls ( ) : List
return List

DisableControlAction() public static method

public static DisableControlAction ( Control c, bool b ) : void
c Control
b bool
return void

DisplayHud() public static method

public static DisplayHud ( bool b ) : void
b bool
return void

DisplayRadar() public static method

public static DisplayRadar ( bool b ) : void
b bool
return void

DrawBox() public static method

public static DrawBox ( Vector3 v1, Vector3 v2, Color c ) : void
v1 Vector3
v2 Vector3
c Color
return void

DrawLine() public static method

public static DrawLine ( Vector3 v1, Vector3 v2, Color c ) : void
v1 Vector3
v2 Vector3
c Color
return void

DrawPoly() public static method

public static DrawPoly ( Vector3 v1, Vector3 v2, Vector3 v3, Color c ) : void
v1 Vector3
v2 Vector3
v3 Vector3
c Color
return void

EnableControlAction() public static method

public static EnableControlAction ( Control c, bool b ) : void
c Control
b bool
return void

EnableControls() public static method

public static EnableControls ( List ctrls ) : void
ctrls List
return void

GetControlNormal() public static method

public static GetControlNormal ( Control c ) : float
c Control
return float

GetControlPoint() public static method

public static GetControlPoint ( Control c1, Control c2 ) : System.Vector2
c1 Control
c2 Control
return System.Vector2

GetControlValue() public static method

public static GetControlValue ( Control c ) : int
c Control
return int

GetCoordsFromCam() public static method

public static GetCoordsFromCam ( int distance ) : Vector3
distance int
return Vector3

GetEntityQuaternion() public static method

public static GetEntityQuaternion ( System.Entity e ) : Quaternion
e System.Entity
return Quaternion

GetEntityType() public static method

public static GetEntityType ( System.Entity e ) : EntityType
e System.Entity
return EntityType

GetFirstBlipInfoID() public static method

public static GetFirstBlipInfoID ( int i ) : int
i int
return int

GetGroundPos() public static method

public static GetGroundPos ( System.Vector2 pos ) : Vector3
pos System.Vector2
return Vector3

GetHashKey() public static method

public static GetHashKey ( string s ) : int
s string
return int

GetLeftStick() public static method

public static GetLeftStick ( ) : System.Vector2
return System.Vector2

GetLookInputVector() public static method

public static GetLookInputVector ( ) : System.Vector2
return System.Vector2

GetMousePos() public static method

public static GetMousePos ( ) : Point
return Point

GetMoveInputVector() public static method

public static GetMoveInputVector ( ) : System.Vector2
return System.Vector2

GetNetworkID() public static method

public static GetNetworkID ( GTA.Player p ) : int
p GTA.Player
return int

GetNumNetworkPlayers() public static method

public static GetNumNetworkPlayers ( ) : int
return int

GetPedGroupIndex() public static method

public static GetPedGroupIndex ( GTA.Ped p ) : int
p GTA.Ped
return int

GetPedPlayer() public static method

public static GetPedPlayer ( GTA.Ped ped ) : GTA.Player
ped GTA.Ped
return GTA.Player

GetPlayerByName() public static method

public static GetPlayerByName ( string player ) : GTA.Player
player string
return GTA.Player

GetPlayerEntity() public static method

public static GetPlayerEntity ( GTA.Player p ) : System.Entity
p GTA.Player
return System.Entity

GetPlayerIndex() public static method

public static GetPlayerIndex ( GTA.Ped p ) : int
p GTA.Ped
return int

GetPlayerInvincible() public static method

public static GetPlayerInvincible ( GTA.Player p ) : bool
p GTA.Player
return bool

GetRightStick() public static method

public static GetRightStick ( ) : System.Vector2
return System.Vector2

GetTextWidth() public static method

public static GetTextWidth ( string s, GTA.Font f, float scale ) : float
s string
f GTA.Font
scale float
return float

IsControlEnabled() public static method

public static IsControlEnabled ( Control c ) : bool
c Control
return bool

IsControlPressed() public static method

public static IsControlPressed ( Control c ) : bool
c Control
return bool

IsControlPressedIgnoreDisabled() public static method

public static IsControlPressedIgnoreDisabled ( Control c ) : bool
c Control
return bool

IsLeftMouseClicked() public static method

public static IsLeftMouseClicked ( ) : bool
return bool

IsRightMouseClicked() public static method

public static IsRightMouseClicked ( ) : bool
return bool

IsSelectPressed() public static method

public static IsSelectPressed ( ) : bool
return bool

IsWaypointActive() public static method

public static IsWaypointActive ( ) : bool
return bool

KickPlayer() public static method

public static KickPlayer ( GTA.Player p ) : void
p GTA.Player
return void

RequestEntityControl() public static method

public static RequestEntityControl ( System.Entity e, int time = 10000 ) : System.Entity
e System.Entity
time int
return System.Entity

RequestEntityControl() public static method

public static RequestEntityControl ( GTA.Player p, int time = 10000 ) : System.Entity
p GTA.Player
time int
return System.Entity

SetControlActions() public static method

public static SetControlActions ( bool b ) : void
b bool
return void

SetEntityCollision() public static method

public static SetEntityCollision ( System.Entity e, bool b, bool b1 ) : void
e System.Entity
b bool
b1 bool
return void

SetEntityGravity() public static method

public static SetEntityGravity ( System.Entity e, bool b ) : void
e System.Entity
b bool
return void

SetEntityInvinc() public static method

public static SetEntityInvinc ( System.Entity e, bool b ) : void
e System.Entity
b bool
return void

SetEntityLoadColissionFlag() public static method

public static SetEntityLoadColissionFlag ( System.Entity e, bool b ) : void
e System.Entity
b bool
return void

SetEntityProofs() public static method

public static SetEntityProofs ( System.Entity e, bool b1, bool b2, bool b3, bool b4, bool b5, bool b6, bool b7, bool b8 ) : void
e System.Entity
b1 bool
b2 bool
b3 bool
b4 bool
b5 bool
b6 bool
b7 bool
b8 bool
return void

SetEntityRecordsCollisions() public static method

public static SetEntityRecordsCollisions ( System.Entity e, bool b ) : void
e System.Entity
b bool
return void

SetInSpectatorMode() public static method

public static SetInSpectatorMode ( GTA.Player p, bool spectating ) : void
p GTA.Player
spectating bool
return void

SetInvincTime() public static method

public static SetInvincTime ( int time ) : void
time int
return void

SetSPInvinc() public static method

public static SetSPInvinc ( GTA.Player p, bool b ) : void
p GTA.Player
b bool
return void

SetTextDropShadow() public static method

public static SetTextDropShadow ( int i, Color c ) : void
i int
c Color
return void

SetTextEdge() public static method

public static SetTextEdge ( int i, Color c ) : void
i int
c Color
return void

SetTextRightJustifty() public static method

public static SetTextRightJustifty ( bool b ) : void
b bool
return void

ShowMouseThisFrame() public static method

public static ShowMouseThisFrame ( ) : void
return void

SlotHasPlayer() public static method

public static SlotHasPlayer ( int i ) : bool
i int
return bool

SpawnVehicleProper() public static method

public static SpawnVehicleProper ( Model m, Vector3 pos ) : GTA.Vehicle
m Model
pos Vector3
return GTA.Vehicle

StatSetBool() public static method

public static StatSetBool ( string hashKey, bool value, bool b ) : void
hashKey string
value bool
b bool
return void

StatSetFloat() public static method

public static StatSetFloat ( string hashKey, float value, bool b ) : void
hashKey string
value float
b bool
return void

StatSetInt() public static method

public static StatSetInt ( string hashKey, int value, bool b ) : void
hashKey string
value int
b bool
return void

ValidateScreenPoint() public static method

public static ValidateScreenPoint ( System.Vector2 v ) : System.Vector2
v System.Vector2
return System.Vector2

WorldToScreen() public static method

public static WorldToScreen ( Vector3 world ) : System.Vector2
world Vector3
return System.Vector2