alt.restartResource

Used to restart a resource. Any data or state that is stored on individual entities will be lost during the resource restart.

Declaration

alt.restartResource(name: string): void

Example

alt.restartResource('someResourceName');

Real World Example

alt.restartResource('someResourceName');

These examples assume you have imported alt from alt-server.

results matching ""

    No results matching ""