06.07.2014, 00:06
dc_anims.inc - all GTA:SA animations in one include.
Contains 1871 animations in 134 libraries.
All animations are effectively organized in an animations table. That way you can easily add/remove animations from it.
Features:
Usage:
Author: Daniel_Cortez.
Contains 1871 animations in 134 libraries.
All animations are effectively organized in an animations table. That way you can easily add/remove animations from it.
Features:
- Complete list of GTA:SA animations.
- Actions list (dancing, drinking, smoking, etc.)
- Animation libraries preloading on 1st spawn.
- Russian/English languages support.
Код:
/anim [animlib] [animation ID] - play the specified animation (without parameters - list all available animation libraries) /stopanim - stop current animation /action [action name] - play the specified action (without parameters - list all available action names)
- Download dc_anims.inc and drop it into "pawno/include" directory.
- Use it in your gamemode:
PHP код:#include <a_samp>
#define DC_ANIMS_LANG_EN
#include <dc_anims>
- dc_anims can optionally work with a command processor (ZCMD, for example), just include that command engine before using dc_anims.
Example:
PHP код:#include <a_samp>
#include <zcmd>
#include <dc_anims> // ZCMD will be used for command processing
PHP код:#include <a_samp>
#include <dc_anims> // no command processor included - use standard commands
- There are 2 colors for messages displaying in dc_anims: light blue (for regular messages) and grey (for error messages).
You can redefine these colors by defining DC_ANIMS_COLOR and DC_ANIMS_ERROR_COLOR macros before using this include.
Example:
PHP код:#include <a_samp>
#define DC_ANIMS_COLOR "{00FF00}" // regular messages will be green
#define DC_ANIMS_ERROR_COLOR "{FF0000}" // errors - red
#include <dc_anims>
- If actions list is conflicting with some features from your gamemode, you can disable this list by defining DC_ANIMS_DISABLE_ACTIONS macro:
PHP код:#include <a_samp>
#define DC_ANIMS_DISABLE_ACTIONS // remove "/actions" command and actions table
#include <dc_anims>
- This include was first released in Russia, so English language isn't enabled by default. You can enable it by defining DC_ANIMS_LANG_EN macro though:
PHP код:#include <a_samp>
#define DC_ANIMS_LANG_EN
#include <dc_anims>
Author: Daniel_Cortez.