Skip to content

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
merged 17 commits into from
Oct 25, 2018
Merged

Add event onClientPedStep #212

merged 17 commits into from
Oct 25, 2018

Conversation

CrosRoad95
Copy link

@CrosRoad95 CrosRoad95 commented Jun 29, 2018

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

@qaisjp
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
@jushar
Copy link
Contributor

jushar commented Jul 5, 2018

Why do you install the hooks in multiplayer_shotsync.cpp?

@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
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants