CITObject IDsCIT Tools

GTA San Andreas object

mpgun_counter06 object ID 18047

gen_int5Not placed
Object ID
18047
Model name
mpgun_counter06
Texture file (TXD)
gen_mun_counter
Draw distance
30
Defined in
gen_int5.ide
Flags
4
Placed in the world
0 times

MTA:SA code

Copy a line into your script. x, y, z are the coordinates; the coordinates map gives them.

local obj = createObject(18047, x, y, z)
engineGetModelNameFromID(18047) -- "mpgun_counter06" (client side)

Where this comes from

Checked on 29 September 2026.