- Documentation
- Server functions
- stopResource
Function
stopResource
Stops a running resource. Its elements, timers, commands and key binds go away.
Syntax
bool stopResource(resource theResource)Arguments
theResourceresource- The resource (a handle or a name).
Returns
true if the resource was stopped.
Example
stopResource(getResourceFromName("race"))