SCHEDULE_RESOURCE_TICK
Schedules the specified resource to run a tick as soon as possible, bypassing the server's fixed tick rate.
Signature
void SCHEDULE_RESOURCE_TICK(char* resourceName);Parameters
| Name | Type | Description |
|---|---|---|
resourceName | char* | The resource to tick. |
Returns void
Description
Schedules the specified resource to run a tick as soon as possible, bypassing the server's fixed tick rate.
Usage
ScheduleResourceTick(resourceName)
-- always works, by hash
Citizen.InvokeNative(0xb88a73ad, resourceName)JavaScript and C#
ScheduleResourceTick(resourceName);
// by hash
Citizen.invokeNative('0xb88a73ad', resourceName);Function.Call((Hash)0xb88a73ad, resourceName);Sources
Something wrong or missing? Contribute a verified note — corrections ship through pull requests.