A character can hold one item in each hand: a suitcase, a newspaper, an umbrella, coffee... The numbers are rows of the game's own item table. The server sets them and everyone sees them: player:setItemsInHands(left, right); -1 or nil leaves a hand empty.
player:setItemsInHands(46) -- suitcase in the left hand player:setItemsInHands(-1, 49) -- coffee in the right hand player:setItemsInHands(47, 61) -- newspaper and a cigarette player:setItemsInHands() -- empty hands local left, right = player:getItemsInHands()
The item only sits in the hand: how the arm moves comes from the walk. For a suitcase or a bag set a walk style too, or the arm swings it as in a normal walk. Pairs tried in the game:
| Item | Hand | Walk style |
|---|---|---|
| 46 — Suitcase | left | ManBigSuitcase |
| 71 — Bag, light | right | ManBag |
| 92 — Umbrella, open | right | ManUmbrellaOpen |
| 97 — Umbrella, closed | right | ManUmbrellaClosed |
| 47 — Newspaper | left | ManNewspaperSubaxillary |
| 73 — Handbag, white | left | WomanHeelHandbag |
Test command: /hands left right [player id], e.g. /hands 46, /hands -1 92; /hands alone empties the hands.
Taking out a weapon puts the items away. Weapons are given with player:giveWeapon, not here.
All items
| ID | Item | Model |
|---|---|---|
| 29 | Bottle (weapon) | Lahev |
| 30 | Torch | baterk |
| 31 | Window wiper | sterka |
| 32 | Baseball bat | Palka |
| 33 | Billiard cue | TAGO |
| 34 | Shovel | lopata |
| 35 | Snow shovel | lopata_na_snih |
| 37 | Broom | KOSTE |
| 38 | Gasoline can | kanistr |
| 39 | Money | money |
| 40 | Suit (carried) | CS_jacketANIM |
| 41 | Paper bag | CS_taskaANIM |
| 42 | Pencil | tuzka |
| 43 | Box | DE_bedna |
| 44 | Bottle | DE_lahev01 |
| 45 | Keys | POklice |
| 46 | Suitcase | kufrik |
| 47 | Newspaper | news_small |
| 48 | Hot dog | 7hotdog |
| 49 | Coffee | kafe_salek |
| 50 | Beer | FB_beer_full |
| 51 | Seagift box | SG_bedna |
| 52 | Police notepad | POLICE_blok |
| 53 | Handcuffs (police) | pouta |
| 54 | Basketball | ball_basket |
| 55 | Ticket | POLICE_listek |
| 56 | Police pencil | POLICE_tuzka |
| 58 | Cigarette (Blues) | cig_blues |
| 59 | Cigarette (Reds) | cig_reds1 |
| 60 | Cigarette (Whites) | cig_whites |
| 61 | Cigarette | FB_cigareta_ingame |
| 62 | Lighter | FB_zippo_SCRIPT |
| 63 | Backpack | batoh |
| 64 | Handcuffs (prison) | pouta |
| 65 | Burger | hamburgr |
| 66 | Sandwich | sandwich |
| 68 | Whisky shot | FB_shot_glass |
| 69 | Empty beer | FB_beer_empty |
| 70 | Middle suitcase | kufr1 |
| 71 | Bag, light | brasna_ingame |
| 72 | Bag, dark | brasna01_ingame |
| 73 | Handbag, white | kabelka_ingame |
| 74 | Handbag, pink | kabelka02_ingame |
| 75 | Handbag, black | kabelka03_ingame |
| 76 | Big suitcase, white | kufr01_ingame |
| 77 | Big suitcase, green | kufr04_ingame |
| 79 | Ketchup | ketchup_i |
| 80 | Banknote | penize |
| 81 | Bundle of money | balik_penez |
| 82 | Bar rag | hadr_bar |
| 83 | Explosive charge | c-4 |
| 84 | Prison clothes | hromadka_satu |
| 86 | Fork | FB_vidlicka |
| 87 | Knife (table) | FB_nuz |
| 88 | Detonator | c-4-roznetka |
| 89 | Chess piece, white | 06_dama_bila_[B] |
| 90 | Chess piece, black | 06_dama_cerna_[B] |
| 92 | Umbrella, open | destnik_open |
| 93 | Dustpan | smetak |
| 94 | Bucket | kybl |
| 95 | Vacuum cleaner | lux01 |
| 96 | Glass cutter | glass_cutter |
| 97 | Umbrella, closed | destnik_closed |
| 98 | Crate | bedna_zavrena |
| 99 | Washing powder | washpowder10[J]_pha |
| 101 | Fishing rod | rybarsky_prut |
| 102 | Pipe | dymka |
| 103 | Newspaper (opens) | Newspaper |
| 104 | Laundry cart | cart10[J]_pha |
| 105 | Clothes rack | suit_cart[J]_pha |
| 106 | Handcuffs | hand_cuffs |
| 107 | Bundle of newspapers | Newspaper_Pack |
| 108 | Wheel wrench | klic_na_kola |
| 110 | Shoe brush | kartac_na_boty |
| 111 | Swift White | swift_white |
| 112 | Beer Master | beer_master |
| 113 | Beer, half | FB_beer_full2 |
| 114 | Glass cloth | Hadra |
| 115 | Bottle (city) | lahev_city |
| 116 | Hammer | Hammer |
| 118 | Telephone receiver | sluchatko |
| 119 | Gas can | benzinka |
| 120 | Flashlight | Flashlight |
| 122 | Match | Safety_Match_SCRIPT |
| 123 | Letter | Letter_City |