Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add event onClientPedStep #212

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
botder merged 17 commits into multitheftauto:master from CrosRoad95:onPedTakeStep
Oct 25, 2018
Merged

Add event onClientPedStep #212

botder merged 17 commits into multitheftauto:master from CrosRoad95:onPedTakeStep
Oct 25, 2018

Conversation

@CrosRoad95
Copy link

@CrosRoad95 CrosRoad95 commented Jun 29, 2018
edited
Loading

Type: Clientside
Name: onClientPedStep
Arguments: bool foot
if foot is equal true then ped put his left foot, otherwise he put right foot
Usage: Mainaly for sound system, you can detect which material hit foot and play different sounds for grass, sand, rocks etc.
LosFaul also suggested that will be able to make fitness step counter.

Test resource: ( you have to rename events to onClientPedStep )
onPedTakeAStep.zip

Player
event test
Ped
event test for ped

Copy link
Contributor

qaisjp commented Jun 29, 2018

Hey - this looks pretty interesting! Well done.

My first comment for improvement would be to merge it into one event: onClientPedStep

@botder botder added the enhancement New feature or request label Jun 29, 2018
Copy link
Contributor

jushar commented Jul 5, 2018

Why do you install the hooks in multiplayer_shotsync.cpp?

CrosRoad95 reacted with confused emoji

@botder botder added refactor review-required and removed enhancement New feature or request labels Jul 9, 2018
@patrikjuvonen patrikjuvonen added enhancement New feature or request and removed new feature labels Sep 4, 2018
@patrikjuvonen patrikjuvonen changed the title (削除) Event onClientPedStep (削除ここまで) (追記) Add event onClientPedStep (追記ここまで) Sep 4, 2018
Copy link
Contributor

@qaisjp qaisjp left a comment

Choose a reason for hiding this comment

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

Please fix as per Jusonex's comment

@botder botder merged commit d9b6d20 into multitheftauto:master Oct 25, 2018
@botder botder added this to the 1.5.7 milestone Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@botder botder botder left review comments

+1 more reviewer

@qaisjp qaisjp qaisjp requested changes

Reviewers whose approvals may not affect merge requirements

Labels

enhancement New feature or request

Projects

None yet

Milestone

1.5.7

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /