thalilmythos Posted June 9, 2017 Share Posted June 9, 2017 is there any way to check if the player is in a gang territory? I want to make an "if the player is on a ballas territory" condition kinda thing. Link to comment Share on other sites More sharing options...
Richie Makyura Posted June 10, 2017 Share Posted June 10, 2017 Wait, in the map the War Gangs are marked Territories with Green, Purple and Yellow, If i wrong you want the mensage apears wit Sam Fierro Rifa, Traids, Leone and Varrio Los Aztecas that requierea CLEO mod. I Don,t knwon how to mensage apears on screen in certain parts of the map, Link to comment Share on other sites More sharing options...
OrionSR Posted June 10, 2017 Share Posted June 10, 2017 076D: get_zone 'GAN1' gang 1 density_to [email protected] This opcode should do the trick. Richie Makyura 1 Link to comment Share on other sites More sharing options...
X-Falcon Posted June 10, 2017 Share Posted June 10, 2017 (edited) Yee i late. Like OrionSr had explain, use instead opocode 076D, and you would enchanted. for [email protected] = 0 to 7 00A0: store_actor $Player_Actor position_to px py pz 08F1: get_zone_at px py pz nameB_to TEMPVAR_STRING // 8-byte string 076D: get_zone TEMPVAR_STRING gang [email protected] density_to [email protected] if [email protected] > 0 then if [email protected] == 0 //Ballas then end if [email protected] == 1 //Grove Street Families then end if [email protected] == 2 //Los Santos Vagos then end if [email protected] == 3 //San Fierro Rifa then end if [email protected] == 4 //Da Nang Boys then end if [email protected] == 6 //Mountain Cloud Triad then end if [email protected] == 7 //Varrio Los Aztecas then end endend Edited June 10, 2017 by X-Falcon Richie Makyura, OrionSR and thalilmythos 3 Link to comment Share on other sites More sharing options...