SendCommand

From fantasy.cat - SDK
Jump to: navigation, search
SendCommand

Sends a fantasy.cmd command to the connected cheat.

Syntax

void SendCommand ( const char * cmd )

Required Arguments

  • cmd: The fantasy.cmd command.

Returns

None

Example

This example toggles the humanizer from Astrogalaxy.

FantasySDK->SendCommand( "toggle humanizer" );

Notes

  • This function will directly send a command to the running cheat. If the command is not recognized, the cheat will respond in a usual way.
  • The following commands are disabled for security reasons:
    • esea
    • faceit
  • This function will not work with Equinox as Equinox has been changed to a plugin in a March 2019 update.