diff --git a/c-api/event.h b/c-api/event.h index 75324d6..130f699 100644 --- a/c-api/event.h +++ b/c-api/event.h @@ -22,7 +22,7 @@ EXPORT_SHARED void Event_Cancel(alt::CCancellableEvent* event); EXPORT_SERVER void Event_WeaponDamageEvent_SetDamageValue(alt::CEvent* event, uint32_t damageValue); EXPORT_SERVER uint8_t Event_ClientScriptRPCEvent_WillAnswer(alt::CEvent* event); -EXPORT_SERVER uint8_t Event_ClientScriptRPCEvent_Answer(alt::CEvent* event, alt::MValueConst* args[], int size); +EXPORT_SERVER uint8_t Event_ClientScriptRPCEvent_Answer(alt::CEvent* event, alt::ICore* core, alt::MValueConst* args[], int size); EXPORT_SERVER uint8_t Event_ClientScriptRPCEvent_AnswerWithError(alt::CEvent* event, const char* error); EXPORT_SHARED uint8_t Event_WasCancelled(alt::CCancellableEvent* event); diff --git a/c-api/func_table.cpp b/c-api/func_table.cpp index 6587372..2a52047 100644 --- a/c-api/func_table.cpp +++ b/c-api/func_table.cpp @@ -1,6 +1,6 @@ #include "func_table.h" -inline uint64_t capiHash = 11229478147648242923UL; +inline uint64_t capiHash = 1071294164973163825UL; inline uint64_t capiHashes[] = { 0, #ifdef ALT_CLIENT_API @@ -1393,7 +1393,7 @@ inline uint64_t capiHashes[] = { 6004628797499736605UL, 12798418058428333585UL, 8026011842118229214UL, - 9846613369628943706UL, + 11300708773696104108UL, 2674464925851684396UL, 5065438074644693875UL, 18440396865533386791UL,