CLEO Help detect if player holding weapon

CLEO related
Status
Not open for further replies.

Mila.cs ✅

Well-known member
Joined
Jun 24, 2016
Messages
247
Reaction score
10
Location
̀́̀́
Code:
02D8:   actor $PLAYER_ACTOR current_weapon == weaponID
//usable for a if statement.

Code:
0470: 0@ = actor $PLAYER_ACTOR current_weapon
//store current weapon in a variable.
 

bladero

Active member
Joined
Jan 3, 2017
Messages
73
Reaction score
0
With 02D8 you see if player has one specified weapon, with 0470 you get players current weapon id. If you mean some player holding weapon just get their handle and put them instead of Player Actor... you get the point
 
Status
Not open for further replies.
Top