Skip to content

Add missing declarations in gta_sa's CEventHandler.h - #332

Open
Zorono wants to merge 1 commit into
DK22Pac:masterfrom
Zorono:patch-1
Open

Add missing declarations in gta_sa's CEventHandler.h#332
Zorono wants to merge 1 commit into
DK22Pac:masterfrom
Zorono:patch-1

Conversation

@Zorono

@Zorono Zorono commented Sep 8, 2026

Copy link
Copy Markdown

These new additions fix:

  CEventHandler.cpp
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(11,5): error C2039: 'ComputePedCollisionWit
hPedResponse': is not a member of 'CEventHandler' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
      M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.h(11,18):
      see declaration of 'CEventHandler'

M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(11,5): error C2065: 'ComputePedCollisionWit
hPedResponse': undeclared identifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(11,5): error C2039: 'address': is not a mem
ber of '`global namespace'' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(11,5): error C2062: type '<error>' unexpect
ed [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(12,5): error C2039: 'ComputePedCollisionWit
hPedResponse': is not a member of 'CEventHandler' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
      M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.h(11,18):
      see declaration of 'CEventHandler'

M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(12,5): error C2065: 'ComputePedCollisionWit
hPedResponse': undeclared identifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(12,5): error C2039: 'global_address': is no
t a member of '`global namespace'' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(12,5): error C2062: type '<error>' unexpect
ed [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,21): error C2039: 'ComputePedCollisionWi
thPedResponse': is not a member of 'CEventHandler' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
      M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.h(11,18):
      see declaration of 'CEventHandler'

M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,21): error C2182: 'ComputePedCollisionWi
thPedResponse': this use of 'void' is not valid [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,56): error C2065: 'CEvent': undeclared i
dentifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,64): error C2065: 'event': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,71): error C2065: 'CTask': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,78): error C2065: 'activeTask': undeclar
ed identifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,90): error C2065: 'CTask': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,97): error C2065: 'simplestTask': undecl
ared identifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(14,111): error C2143: syntax error: missing
 ';' before '{' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(15,50): error C2065: 'CEvent': undeclared i
dentifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(15,58): error C2059: syntax error: ',' [M:\
MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(15,60): error C2065: 'CTask': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(15,67): error C2059: syntax error: ',' [M:\
MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(15,69): error C2065: 'CTask': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(15,76): error C2059: syntax error: '>' [M:\
MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(16,9): error C2039: 'ComputePedCollisionWit
hPedResponse': is not a member of 'CEventHandler' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
      M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.h(11,18):
      see declaration of 'CEventHandler'

M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(16,9): error C2039: 'global_address': is no
t a member of '`global namespace'' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(16,9): error C2062: type '<error>' unexpect
ed [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(22,1): error C2059: syntax error: '}' [M:\M
yJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(22,1): error C2143: syntax error: missing '
;' before '}' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(24,5): error C2039: 'ComputePedCollisionWit
hPlayerResponse': is not a member of 'CEventHandler' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
      M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.h(11,18):
      see declaration of 'CEventHandler'

M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(24,5): error C2065: 'ComputePedCollisionWit
hPlayerResponse': undeclared identifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(24,5): error C2039: 'address': is not a mem
ber of '`global namespace'' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(25,5): error C2039: 'ComputePedCollisionWit
hPlayerResponse': is not a member of 'CEventHandler' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
      M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.h(11,18):
      see declaration of 'CEventHandler'

M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(25,5): error C2065: 'ComputePedCollisionWit
hPlayerResponse': undeclared identifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(25,5): error C2039: 'global_address': is no
t a member of '`global namespace'' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(25,5): error C2062: type '<error>' unexpect
ed [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,21): error C2039: 'ComputePedCollisionWi
thPlayerResponse': is not a member of 'CEventHandler' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
      M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.h(11,18):
      see declaration of 'CEventHandler'

M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,21): error C2182: 'ComputePedCollisionWi
thPlayerResponse': this use of 'void' is not valid [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,59): error C2065: 'CEvent': undeclared i
dentifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,67): error C2065: 'event': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,74): error C2065: 'CTask': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,81): error C2065: 'activeTask': undeclar
ed identifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,93): error C2065: 'CTask': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,100): error C2065: 'simplestTask': undec
lared identifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(27,114): error C2143: syntax error: missing
 ';' before '{' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(28,50): error C2065: 'CEvent': undeclared i
dentifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(28,58): error C2059: syntax error: ',' [M:\
MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(28,60): error C2065: 'CTask': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(28,67): error C2059: syntax error: ',' [M:\
MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(28,69): error C2065: 'CTask': undeclared id
entifier [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(28,76): error C2059: syntax error: '>' [M:\
MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(29,9): error C2039: 'ComputePedCollisionWit
hPlayerResponse': is not a member of 'CEventHandler' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
      M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.h(11,18):
      see declaration of 'CEventHandler'

M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(29,9): error C2039: 'global_address': is no
t a member of '`global namespace'' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(29,9): error C2062: type '<error>' unexpect
ed [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(35,1): error C2059: syntax error: '}' [M:\M
yJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]
M:\MyJob\BrownTurbo-CHandling\Client\deps\plugin-sdk\plugin_sa\game_sa\CEventHandler.cpp(35,1): error C2143: syntax error: missing '
;' before '}' [M:\MyJob\BrownTurbo-CHandling\Client\build\brownturbo-chandling.vcxproj]

VALIDATE_OFFSET(CEventHandler, field_2C, 0x2C);
VALIDATE_OFFSET(CEventHandler, field_30, 0x30);
VALIDATE_SIZE(CEventHandler, 0x34); No newline at end of file
VALIDATE_SIZE(CEventHandler, 0x34);

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i didn't do this ???

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant