Set actor weapon to

Joined
Dec 31, 2015
Messages
712
Reaction score
27
Is there anyone know which func address remains to cleo function set_actor_weapon?
Cheers.  :cool:
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
From MTA SA source
[shcode=cpp]
#define FUNC_SetCurrentWeapon           0x5E61F0
#define FUNC_SetCurrentWeaponFromID     0x4FF8E0
#define FUNC_SetCurrentWeaponFromSlot   0x4FF900
[/shcode]
note; these are CPed class methods, parameters are weapon slot id/weapon id.
 
Joined
Dec 31, 2015
Messages
712
Reaction score
27
springfield said:
From MTA SA source
[shcode=cpp]
#define FUNC_SetCurrentWeapon           0x5E61F0
#define FUNC_SetCurrentWeaponFromID     0x4FF8E0
#define FUNC_SetCurrentWeaponFromSlot   0x4FF900
[/shcode]
note; these are CPed class methods, parameters are weapon slot id/weapon id.

Cheers, you can close this topic now  :)
 
Top