sampcmd-go: github.com/Bios-Marcel/sampcmd-go/sampcmd Index | Files

package sampcmd

import "github.com/Bios-Marcel/sampcmd-go/sampcmd"

Index

Package Files

sampcmd.go

Constants

const RegistryError = 12345

RegistryError error used for problems during registry calls.

func LaunchSAMP Uses

func LaunchSAMP(args string) int

LaunchSAMP launches the SA-MP client passing along the given string as its commandline parameters. This has to be executed from within the GTA SA folder.

func LaunchSAMPDetectGTADirectory Uses

func LaunchSAMPDetectGTADirectory(args string) int

LaunchSAMPDetectGTADirectory launches the SA-MP client passing along the given string as its commandline parameters. This automatically detects the location where GTA SA is installed.

func LaunchSAMPSetWorkingDir Uses

func LaunchSAMPSetWorkingDir(workingDir, args string) int

LaunchSAMPSetWorkingDir launches the SA-MP client passing along the given string as its commandline parameters. You must pass the GTA SA folder as the working directory here.

Package sampcmd imports 5 packages (graph) and is imported by 1 packages. Updated 2018-10-16. Refresh now. Tools for package owners.