StopResource

From GTA Network Wiki
Jump to: navigation, search

StopResource
Server-Side Function

utilities-terminal.png Server-Side csharp.png C#

Stops the given resource.

Syntax

bool NAPI.Resource.StopResource(string name);

Required Arguments

  • name: parameter input should be in string type.

NOTE: This function returns data in bool type.

Usage example(s)

[Command("stop", ACLRequired = true)]
public void StopCommand(Client sender, string name)
{
    NAPI.Resource.StopResource(name);
}

Changelog

Version Description
1.0 Release.

References