2
0
mirror of https://github.com/rehlds/reapi.git synced 2025-07-04 00:09:30 +03:00
This commit is contained in:
jonathan-up 2024-07-20 03:50:46 +08:00
parent 719f2f8f55
commit e5b82599c5

View File

@ -289,11 +289,15 @@ native bool:rh_is_paused();
/* /*
* Set server pause state * Set server pause state
* *
* @param st Pause state, true: server will be paused * @param st Pause state, true: server will be paused, false: unpause(if paused)
* @param host If it is 1, the native will call 'Host_Pause()'
*
* @note rh_set_paused(true, true) just like set pausable to 1 and execute client command 'pause'
* @note rh_set_paused(true, false) only set g_psv.paused
* *
* @noreturn * @noreturn
*/ */
native rh_set_paused(const bool:st, const bool:host); native rh_set_pause(const bool:st, const bool:host = true);
/* /*
* Checks if a specific entity is fully packed in a given frame for a host client. * Checks if a specific entity is fully packed in a given frame for a host client.