11.01.2017, 10:18
The weapon icons are made using SetObjectMaterial (or dynamic object material).
For example, the following code could created the rocket icon on an appropriate object:
A grenade:
The material index used is often 0 for basic objects like a small wall etc.
Sorry I don't know the easiest way to find all of the weapon textures but there's a start.
For example, the following code could created the rocket icon on an appropriate object:
PHP код:
SetObjectMaterial(objectid, materialindex, 359, rocketla, rocketlaicon, 0x0)
PHP код:
SetObjectMaterial(objectid, materialindex, 342, grenade, grenadeicon, 0x0)
Sorry I don't know the easiest way to find all of the weapon textures but there's a start.