SetMain

Sets the entities main weapon.

ELITEAPI_API bool __stdcall SetMain(void* apiObject, int index, unsigned short mainId);

Parameters

Return Value

True on success, false otherwise.