SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts > Includes

Reply
 
Thread Tools Display Modes
Old 03/08/2020, 08:26 PM   #1
Mergevos
Little Clucker
 
Join Date: Jul 2020
Posts: 15
Reputation: 3
Default samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

samp-walking-styles



Installation

Simply install to your project:


Code:
sampctl package install Mergevos/samp-walking-styles

Include in your code and begin using the library:

PHP Code:
#include <walking-styles> 
Usage

This can be useful for roleplay servers.
If you've had included this into your script/gamemode etc... Start by using a simple function
PHP Code:
SetPlayerWalkingStyle(const playerid, const style); 
This is going to set you some of walking styles below
PHP Code:
enum {
    
WALKING_STYLE_DEFAULT 0,
    
WALKING_STYLE_NORMAL,
    
WALKING_STYLE_PED,
    
WALKING_STYLE_GANGSTA,
    
WALKING_STYLE_GANGSTA2,
    
WALKING_STYLE_OLD,
    
WALKING_STYLE_FAT_OLD,
    
WALKING_STYLE_FAT,
    
WALKING_STYLE_WOMANOLD,
    
WALKING_STYLE_WOMANFATOLD,
    
WALKING_STYLE_SHUFFLE,
    
WALKING_STYLE_LADY,
    
WALKING_STYLE_LADY2,
    
WALKING_STYLE_WHORE,
    
WALKING_STYLE_WHORE2,
    
WALKING_STYLE_DRUNK,
    
WALKING_STYLE_BLIND
}; 
And there is
PHP Code:
GetPlayerWalkingStyle(const playerid); 
This will return you the player's walking style.

Note: If you've set the player's walking style, to activate it, firstly press W then left alt key.

Testing

To test, firstly configure pawn.json then simply run the package:

Code:
sampctl package run
Mergevos is offline   Reply With Quote
Old 04/08/2020, 01:17 AM   #2
xbruno1000x
Big Clucker
 
xbruno1000x's Avatar
 
Join Date: Apr 2020
Location: Brasil
Posts: 58
Reputation: 1
Default Re: samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

I liked. However, it only changes the style when pressed ALT + walk buttons. In a next update you could change running styles and others.
xbruno1000x is offline   Reply With Quote
Old 04/08/2020, 08:25 AM   #3
Mergevos
Little Clucker
 
Join Date: Jul 2020
Posts: 15
Reputation: 3
Default Re: samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

It's meant to activate walk style with alt+w. What do you suggest?
Mergevos is offline   Reply With Quote
Old 05/08/2020, 05:09 AM   #4
xbruno1000x
Big Clucker
 
xbruno1000x's Avatar
 
Join Date: Apr 2020
Location: Brasil
Posts: 58
Reputation: 1
Default Re: samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

Quote:
Originally Posted by Mergevos View Post
It's meant to activate walk style with alt+w. What do you suggest?
I know, i tested. My suggestion is a update to totally change the style of walking, because it doesn't make sense to walk like old and run like usain bolt.
xbruno1000x is offline   Reply With Quote
Old 05/08/2020, 11:03 AM   #5
Mergevos
Little Clucker
 
Join Date: Jul 2020
Posts: 15
Reputation: 3
Default Re: samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

Quote:
Originally Posted by xbruno1000x View Post
I know, i tested. My suggestion is a update to totally change the style of walking, because it doesn't make sense to walk like old and run like usain bolt.
It's just styles made for RP servers, like, idk, many actions can include this, like pretending, rping an old man, you can set a condition inside a script like, if a player is old, then you may set a walking style to him
Mergevos is offline   Reply With Quote
Old 05/08/2020, 08:38 PM   #6
Admireal
Big Clucker
 
Join Date: Sep 2016
Posts: 121
Reputation: 5
Default Re: samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

downlad link?
Admireal is offline   Reply With Quote
Old 06/08/2020, 08:47 AM   #7
Mergevos
Little Clucker
 
Join Date: Jul 2020
Posts: 15
Reputation: 3
Default Re: samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

Github bro, use sampctl bro
Mergevos is offline   Reply With Quote
Old 06/08/2020, 01:39 PM   #8
ShadowMortar
Huge Clucker
 
ShadowMortar's Avatar
 
Join Date: Jul 2016
Location: Croatia
Posts: 303
Reputation: 110
Default Re: samp-walking-styles | Mine fork of Ben Jackster's walking styles | 15+ walk styles

Quote:
Originally Posted by Admireal View Post
downlad link?
Clicking on

redirects you to the github repository.
__________________
If you appreciate(d) my help, I will appreciate +REP .

Quote:
Originally Posted by CheezIt View Post
Follow your heart and own style.
Feel free to PM me if you need help.
Quote:
Originally Posted by Pottus View Post
That is perfectly fine, I'm just pointing out where you made mistakes what does hearing "good job" get you? Absolutely nothing. You need to hear the problems otherwise you'll keep making the same mistakes
ShadowMortar is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Walking styles please help please Euan Hughes Scripting Help 4 24/06/2012 02:39 PM
Walking styles Euan Hughes Scripting Help 5 24/06/2012 01:52 AM
Walking styles.. Euan Hughes Scripting Help 1 20/06/2012 10:38 PM
running/walking styles? The_Gangstas Help Archive 4 10/12/2010 02:04 AM
Walking Styles Scarface~ Help Archive 3 11/08/2010 07:16 PM


All times are GMT. The time now is 04:10 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.