Skip to content

Commit

Permalink
fix runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Sep 24, 2023
1 parent e3f3f8f commit f44a4ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion c-api/event.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down
4 changes: 2 additions & 2 deletions c-api/func_table.cpp
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -1393,7 +1393,7 @@ inline uint64_t capiHashes[] = {
6004628797499736605UL,
12798418058428333585UL,
8026011842118229214UL,
9846613369628943706UL,
11300708773696104108UL,
2674464925851684396UL,
5065438074644693875UL,
18440396865533386791UL,
Expand Down

0 comments on commit f44a4ad

Please sign in to comment.