Skip to content

Commit

Permalink
change CGivePedScriptedTaskEvent taskType to uint32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Sep 19, 2023
1 parent bcd23a3 commit 1c4e19f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cpp-sdk
2 changes: 1 addition & 1 deletion server/include/CSharpResourceImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ typedef void (* ClientDeleteObjectDelegate_t)(const alt::CEvent* event, alt::IPl

typedef void (* PlayerHealDelegate_t)(alt::IPlayer* target, uint16_t oldHealth, uint16_t newHealth, uint16_t oldArmour, uint16_t newArmour);

typedef void (* GivePedScriptedTaskDelegate_t)(const alt::CEvent* event, alt::IPlayer* source, alt::IPed* target, int32_t taskType);
typedef void (* GivePedScriptedTaskDelegate_t)(const alt::CEvent* event, alt::IPlayer* source, alt::IPed* target, uint32_t taskType);

class CSharpResourceImpl : public alt::IResource::Impl {
void OnEvent(const alt::CEvent* ev) override;
Expand Down

0 comments on commit 1c4e19f

Please sign in to comment.