mirror of
https://github.com/rehlds/reapi.git
synced 2025-01-28 14:37:57 +03:00
Removed unnecessary filters
set_rebuy fix tag mismatch
This commit is contained in:
parent
8257f3a31f
commit
e808d72075
@ -203,7 +203,7 @@ native any:get_pmtrace(const tracehandle, const PMTrace:var, any:...);
|
|||||||
*
|
*
|
||||||
* @return 1 on success.
|
* @return 1 on success.
|
||||||
*/
|
*/
|
||||||
native set_rebuy(const RebuyHandle:rebuyhandle, const RebuyStruct:member, value);
|
native set_rebuy(const RebuyHandle:rebuyhandle, const RebuyStruct:member, any:value);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Returns a RebuyStruct member
|
* Returns a RebuyStruct member
|
||||||
@ -212,7 +212,7 @@ native set_rebuy(const RebuyHandle:rebuyhandle, const RebuyStruct:member, value)
|
|||||||
*
|
*
|
||||||
* @return If an integer or boolean or one byte, array or everything else is passed via the 3rd argument and more, look at the argument list for the specified RebuyStruct
|
* @return If an integer or boolean or one byte, array or everything else is passed via the 3rd argument and more, look at the argument list for the specified RebuyStruct
|
||||||
*/
|
*/
|
||||||
native get_rebuy(const RebuyHandle:rebuyhandle, RebuyStruct:member);
|
native any:get_rebuy(const RebuyHandle:rebuyhandle, RebuyStruct:member);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Assign the number of the player's animation.
|
* Assign the number of the player's animation.
|
||||||
|
@ -385,8 +385,5 @@ AMX_NATIVE_INFO HookChain_Natives[] =
|
|||||||
|
|
||||||
void RegisterNatives_HookChains()
|
void RegisterNatives_HookChains()
|
||||||
{
|
{
|
||||||
if (!api_cfg.hasReHLDS() && !api_cfg.hasReGameDLL())
|
|
||||||
fillNatives(HookChain_Natives, [](AMX *amx, cell *params) -> cell { AMXX_LogError(amx, AMX_ERR_NATIVE, "You need ReHlds or ReGameDll for use hookchains"); return FALSE; });
|
|
||||||
|
|
||||||
g_amxxapi.AddNatives(HookChain_Natives);
|
g_amxxapi.AddNatives(HookChain_Natives);
|
||||||
}
|
}
|
||||||
|
@ -674,7 +674,7 @@ cell AMX_NATIVE_CALL get_pmtrace(AMX *amx, cell *params)
|
|||||||
*
|
*
|
||||||
* @return 1 on success.
|
* @return 1 on success.
|
||||||
*
|
*
|
||||||
* native set_rebuy(const rebuyhandle, const RebuyStruct:member, value);
|
* native set_rebuy(const rebuyhandle, const RebuyStruct:member, any:value);
|
||||||
*/
|
*/
|
||||||
cell AMX_NATIVE_CALL set_rebuy(AMX *amx, cell *params)
|
cell AMX_NATIVE_CALL set_rebuy(AMX *amx, cell *params)
|
||||||
{
|
{
|
||||||
@ -702,7 +702,7 @@ cell AMX_NATIVE_CALL set_rebuy(AMX *amx, cell *params)
|
|||||||
*
|
*
|
||||||
* @return If an integer or boolean or one byte, array or everything else is passed via the 3rd argument and more, look at the argument list for the specified RebuyStruct
|
* @return If an integer or boolean or one byte, array or everything else is passed via the 3rd argument and more, look at the argument list for the specified RebuyStruct
|
||||||
*
|
*
|
||||||
* native get_rebuy(const rebuyhandle, RebuyStruct:member);
|
* native any:get_rebuy(const rebuyhandle, RebuyStruct:member);
|
||||||
*/
|
*/
|
||||||
cell AMX_NATIVE_CALL get_rebuy(AMX *amx, cell *params)
|
cell AMX_NATIVE_CALL get_rebuy(AMX *amx, cell *params)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user