samp.directory
← Skrypty i biblioteki

Mergevos/samp-running-styles

Run in your style!

Biblioteka★ 8zaktualizowano sty 2022MITPawnsampctl
Otwórz na GitHubie

Zainstaluj za pomocą sampctl

sampctl package install Mergevos/samp-running-styles

Uruchom to w folderze swojego projektu. sampctl pobiera pakiet i to, od czego zależy.

Wypróbuj w kompilatorze Pawn →

Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.

Zależy od 1 pakietu

README.md

samp-running-styles

Allows you to run in 13 styles.

Installation

Simply install to your project:

sampctl package install Mergevos/samp-running-styles

Include in your code and begin using the library:

#include <running_styles>

Usage

If you've had included this into your script/gamemode etc... Start by using a simple function

Player_SetRunningStyle(const playerid, const style);

This is going to set you some of running styles below

enum 
{
	RUNNING_STYLE_DEFAULT = 0,
	RUNNING_STYLE_ARMED1,
	RUNNING_STYLE_ARMED,
	RUNNING_STYLE_CIVIL,
	RUNNING_STYLE_CHAINSHAW,
    RUNNING_STYLE_FAT,
	RUNNING_STYLE_FAT_OLD,
    RUNNING_STYLE_GANG1,
	RUNNING_STYLE_LEFT,
	RUNNING_STYLE_OLD,
	RUNNING_STYLE_PLAYER,
	RUNNING_STYLE_RIGHT,
	RUNNING_STYLE_ROCKET,
	RUNNING_STYLE_BLIND
};

And there is

Player_GetRunningStyle(const playerid);

This will return you the player's running style.

Note: If you've set the player's running style, to activate it, just press W key

Testing

To test, simply run the package:

sampctl package run

Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem

Mergevos/samp-running-styles: Biblioteka SA-MP | samp.directory