General stuff

Player state defines

#define PLAYER_STATE_NONE                        (0)
#define PLAYER_STATE_ONFOOT                        (1)
#define PLAYER_STATE_DRIVER                        (2)
#define PLAYER_STATE_PASSENGER                    (3)
#define PLAYER_STATE_EXIT_VEHICLE                (4) // (used internally)
#define PLAYER_STATE_ENTER_VEHICLE_DRIVER        (5) // (used internally)
#define PLAYER_STATE_ENTER_VEHICLE_PASSENGER    (6) // (used internally)
#define PLAYER_STATE_WASTED                        (7)
#define PLAYER_STATE_SPAWNED                    (8)
#define PLAYER_STATE_SPECTATING                    (9)

From a_samp.inc

Back to top

Weapon defines

#define WEAPON_BRASSKNUCKLE                (1)
#define WEAPON_GOLFCLUB                    (2)
#define WEAPON_NITESTICK                (3)
#define WEAPON_KNIFE                    (4)
#define WEAPON_BAT                        (5)
#define WEAPON_SHOVEL                    (6)
#define WEAPON_POOLSTICK                (7)
#define WEAPON_KATANA                    (8)
#define WEAPON_CHAINSAW                    (9)
#define WEAPON_DILDO                    (10)
#define WEAPON_DILDO2                    (11)
#define WEAPON_VIBRATOR                    (12)
#define WEAPON_VIBRATOR2                (13)
#define WEAPON_FLOWER                    (14)
#define WEAPON_CANE                        (15)
#define WEAPON_GRENADE                    (16)
#define WEAPON_TEARGAS                    (17)
#define WEAPON_MOLTOV                    (18)
#define WEAPON_COLT45                    (22)
#define WEAPON_SILENCED                    (23)
#define WEAPON_DEAGLE                    (24)
#define WEAPON_SHOTGUN                    (25)
#define WEAPON_SAWEDOFF                    (26)
#define WEAPON_SHOTGSPA                    (27)
#define WEAPON_UZI                        (28)
#define WEAPON_MP5                        (29)
#define WEAPON_AK47                        (30)
#define WEAPON_M4                        (31)
#define WEAPON_TEC9                        (32)
#define WEAPON_RIFLE                    (33)
#define WEAPON_SNIPER                    (34)
#define WEAPON_ROCKETLAUNCHER            (35)
#define WEAPON_HEATSEEKER                (36)
#define WEAPON_FLAMETHROWER                (37)
#define WEAPON_MINIGUN                    (38)
#define WEAPON_SATCHEL                    (39)
#define WEAPON_BOMB                        (40)
#define WEAPON_SPRAYCAN                    (41)
#define WEAPON_FIREEXTINGUISHER            (42)
#define WEAPON_CAMERA                    (43)
#define WEAPON_PARACHUTE                (46)
#define WEAPON_VEHICLE                    (49)
#define WEAPON_DROWN                    (53)
#define WEAPON_COLLISION                (54)

From a_samp.inc

Back to top

Key defines

#define KEY_ACTION                (1)
#define KEY_CROUCH                (2)
#define KEY_FIRE                (4)
#define KEY_SPRINT                (8)
#define KEY_SECONDARY_ATTACK    (16)
#define KEY_JUMP                (32)
#define KEY_LOOK_RIGHT            (64)
#define KEY_HANDBRAKE            (128)
#define KEY_LOOK_LEFT            (256)
#define KEY_SUBMISSION            (512)
#define KEY_LOOK_BEHIND            (512)
#define KEY_WALK                (1024)
#define KEY_ANALOG_UP            (2048)
#define KEY_ANALOG_DOWN            (4096)
#define KEY_ANALOG_RIGHT        (16384)
#define KEY_ANALOG_LEFT            (8192)

#define KEY_UP                    (65408)
#define KEY_DOWN                (128)
#define KEY_LEFT                (65408)
#define KEY_RIGHT                (128)

From a_samp.inc

Back to top

Colour defines

Thanks to Dealman

#define COLOR_GREY 0xAFAFAFAA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_RED 0xAA3333AA
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_WHITE 0xFFFFFFAA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_ORANGE 0xFF9900AA
#define COLOR_RED 0xAA3333AA
#define COLOR_LIME 0x10F441AA
#define COLOR_MAGENTA 0xFF00FFFF
#define COLOR_NAVY 0x000080AA
#define COLOR_AQUA 0xF0F8FFAA
#define COLOR_CRIMSON 0xDC143CAA
#define COLOR_FLBLUE 0x6495EDAA
#define COLOR_BISQUE 0xFFE4C4AA
#define COLOR_BLACK 0x000000AA
#define COLOR_CHARTREUSE 0x7FFF00AA
#define COLOR_BROWN 0XA52A2AAA
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_GOLD 0xB8860BAA
#define COLOR_GREENYELLOW 0xADFF2FAA
#define COLOR_INDIGO 0x4B00B0AA
#define COLOR_IVORY 0xFFFF82AA
#define COLOR_LAWNGREEN 0x7CFC00AA
#define COLOR_SEAGREEN 0x20B2AAAA
#define COLOR_LIMEGREEN 0x32CD32AA //<--- Dark lime
#define COLOR_MIDNIGHTBLUE 0X191970AA
#define COLOR_MAROON 0x800000AA
#define COLOR_OLIVE 0x808000AA
#define COLOR_ORANGERED 0xFF4500AA
#define COLOR_PINK 0xFFC0CBAA // - Light light pink
#define COLOR_SEAGREEN 0x2E8B57AA
#define COLOR_SPRINGGREEN 0x00FF7FAA
#define COLOR_TOMATO 0xFF6347AA // - Tomato >:/ sounds wrong lol... well... :P
#define COLOR_YELLOWGREEN 0x9ACD32AA //- like military green
#define COLOR_MEDIUMAQUA 0x83BFBFAA
#define COLOR_MEDIUMMAGENTA 0x8B008BAA // dark magenta ^^

Back to top

Pickup types

X = can't pick it up
* = will lock your movement forward if walked on (I don't advise using it.)

0   Item does not display
2   Pickupable and respawns after a few minutes
3   Pickupable, no respawn
4   Disappears shortly after creation (used for drops?)
5   Disappears shortly after creation (used for drops?)
8   pickupable (no effect) - disappears shortly after creation (used for ?)
11   Blows Up few seconds after creation*
12   Blows Up few seconds after creation (car explosion? timer is the burning flame?)
13   X - Slowly descends in Z and eventually goes through the floor (parachute?)
15   Pickupable, no respawn
19   Pickupable with no effect (Information icon?)
22   Pickupable, no respawn

Back to top


Back | Home