===== SetMain ===== Sets the entities main weapon. ELITEAPI_API bool __stdcall SetMain(void* apiObject, int index, unsigned short mainId); **Parameters** *//apiObject// [in] * A handle to an EliteAPI object. *//index// [in] * The index of the entity to obtain. *//mainId// [in] * The main weapon model id to set the entity to. **Return Value** True on success, false otherwise.