Grovestreetogs Posted June 14, 2018 Share Posted June 14, 2018 Hello I am returning to GTA San Andreas for a short time while I have time I made like 4 mobs or something https://www.gtagarage.com/mods/show.php?id=21990 anyways what I want help with is to find out the pedtype of an actor like example the pedtype of this actor that is in 150 yards near CJ. :Gangmembermod_11 wait 0 if Player.Defined($PLAYER_CHAR) else_jump @Gangmembermod_11 if and not Actor.Driving($PLAYER_ACTOR) $ONMISSION == 0 0AB0: key_pressed 120 else_jump @Gangmembermod_11 Actor.StorePos($PLAYER_ACTOR, [email protected], [email protected], [email protected]) 08E5: get_actor_in_sphere [email protected] [email protected] [email protected] radius 150.0 handle_as [email protected] else_jump @Gangmembermod_11 This is my next line for gangmembermod but I want to know like the opcode for like If actor pedtype = 8 or something to act in a way I want to. The second thing I need is to know the group name of a random gang near CJ, 07AF: [email protected] = player $PLAYER_CHAR group is the name for CJ player group but I want to know the same one for random actors. :Gangmembermod_113 wait 0 if 86EE: not actor [email protected] in_group [email protected] else_jump @Gangmembermod_113 Link to comment Share on other sites More sharing options...
Grinch_ Posted June 14, 2018 Share Posted June 14, 2018 (edited) Here cmd GET_PED_TYPE https://gtagmodding.com/opcode-database/opcode/089F/ If you wnna know which ped is under which ped_type,then https://gtagmodding.com/sanandreas/peds/ Edited June 14, 2018 by Inan-Ahammad _Israel_ 1 Link to comment Share on other sites More sharing options...