zombieKILLER Posted April 28, 2007 Share Posted April 28, 2007 is there a way to make cops dont use cars and motorbikes? cos i make all peds cops to attack cj, but cops come in cars and motorbikes and i dont want that. how can i fix that with out touching the peds? Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/ Share on other sites More sharing options...
Wesser Posted April 30, 2007 Share Posted April 30, 2007 (edited) This is a script code. In the SCM.ini I found these lines: 099E=1,toggle_police_patrols %1h% 072C=1,generate_police_bikes %1h% 099E: toggle_police_patrols 0;; 1-on/0-off072C: generate_police_bikes 0;; 1-on/0-off Edited April 30, 2007 by Wesser Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4213237 Share on other sites More sharing options...
zombieKILLER Posted April 30, 2007 Author Share Posted April 30, 2007 thanks i will try it out! Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4213989 Share on other sites More sharing options...
coin-god Posted May 1, 2007 Share Posted May 1, 2007 This is a script code.In the SCM.ini I found these lines: 099E=1,toggle_police_patrols %1h% 072C=1,generate_police_bikes %1h% 099E: toggle_police_patrols 0;; 1-on/0-off072C: generate_police_bikes 0;; 1-on/0-off where we have to put thouse lines? do you know? Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4214866 Share on other sites More sharing options...
Wesser Posted May 1, 2007 Share Posted May 1, 2007 PLPynton Opcodes: 099E=1,toggle_police_patrols %1h% 099E: toggle_police_patrols 0;; 1-on/0-off This line delete the street police. 072C=1,generate_police_bikes %1h%072C: generate_police_bikes 0;; 1-on/0-off This line delete the police on motorbike. 04E2=2,set_char %1d% suspend_heavy_police_reinforcements %2h%04E2: set_char $PLAYER_CHAR suspend_heavy_police_reinforcements 1;; 1-on/0-off Suspends heavier reinforcements that game throws usually against player at 3+ stars. @zombieKILLER, I don't know whether to delete the police in car. @goin-god, put these lines in the new thread: create_thread @POLICE:POLICEthread 'POLICE':POLICE_11wait 0if $ONMISSION == 0 // integer values jf @POLICE_1104E2: set_char $PLAYER_CHAR suspend_heavy_police_reinforcements 1 099E: toggle_police_patrols 0 072C: generate_police_bikes 0jump @POLICE_11 Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4215167 Share on other sites More sharing options...
Justin Posted May 1, 2007 Share Posted May 1, 2007 where we have to put thouse lines? do you know? In the main.scm file. Editing this file is known as mission scripting. If you're this new to it, it'd be worth your while to read up on the basics in the pinned topics in its dedicated forum. Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4215188 Share on other sites More sharing options...
PLPynton Posted May 1, 2007 Share Posted May 1, 2007 just to contribute that opcode 04E2 is a nop in SA released on market. Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4215198 Share on other sites More sharing options...
zombieKILLER Posted May 1, 2007 Author Share Posted May 1, 2007 where we have to put thouse lines? do you know? In the main.scm file. Editing this file is known as mission scripting. If you're this new to it, it'd be worth your while to read up on the basics in the pinned topics in its dedicated forum. we know that, thanks Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4215796 Share on other sites More sharing options...
coin-god Posted May 2, 2007 Share Posted May 2, 2007 @zombieKILLER, I don't know whether to delete the police in car. @goin-god, put these lines in the new thread: create_thread @POLICE:POLICEthread 'POLICE':POLICE_11wait 0if $ONMISSION == 0 // integer values jf @POLICE_1104E2: set_char $PLAYER_CHAR suspend_heavy_police_reinforcements 1 099E: toggle_police_patrols 0 072C: generate_police_bikes 0jump @POLICE_11 it dont work, cops still using bikes and cars did you test it? Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4216517 Share on other sites More sharing options...
zombieKILLER Posted May 2, 2007 Author Share Posted May 2, 2007 @zombieKILLER, I don't know whether to delete the police in car. @goin-god, put these lines in the new thread: create_thread @POLICE:POLICEthread 'POLICE':POLICE_11wait 0if $ONMISSION == 0 // integer values jf @POLICE_1104E2: set_char $PLAYER_CHAR suspend_heavy_police_reinforcements 1 099E: toggle_police_patrols 0 072C: generate_police_bikes 0jump @POLICE_11 it dont work, cops still using bikes and cars did you test it? as he said it dont work! any other way? Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4217548 Share on other sites More sharing options...
PLPynton Posted May 3, 2007 Share Posted May 3, 2007 might be but noone knows. that was the way and it works. these 2 opcodes are doing only part of the work but they work. here is full disable: 01F0: set_max_wanted_level_to 0 03C7: set_sensitivity_to_crime_to 0.0 099E: set_police_patrols_traffic_enabled 0 072C: set_police_motobikes_traffic_enabled 0 096A: set_helicopters_traffic_enabled 0 Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4218804 Share on other sites More sharing options...
TheTank Posted May 3, 2007 Share Posted May 3, 2007 Wouldn't it just be easier to rename the cop cars' files in gta3.img ? I used that tactic when i didn't want them to come. Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4218846 Share on other sites More sharing options...
PLPynton Posted May 3, 2007 Share Posted May 3, 2007 it is not gonna work without model, not like that no. Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4218912 Share on other sites More sharing options...
coin-god Posted May 3, 2007 Share Posted May 3, 2007 (edited) it is not gonna work without model, not like that no. yes it may crash the game, i mean no police cars models edit: i used this code and its works perfect, but when i use a car the cops car appear again! 01F0: set_max_wanted_level_to 2010E: set_player $PLAYER_CHAR minimum_wanted_level_to 2 03C7: set_sensitivity_to_crime_to 0.0 099E: set_police_patrols_traffic_enabled 0 072C: set_police_motobikes_traffic_enabled 0 096A: set_helicopters_traffic_enabled 0 i used max wanted level 2 cos i need it to make peds attack (cos they are cops) minimun to make them attack for ever!!! and thers no real cops when i play, but when i drive a car they appear! maybe something missing?? its almost done!!! Edited May 3, 2007 by goin-god Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4219243 Share on other sites More sharing options...
PLPynton Posted May 3, 2007 Share Posted May 3, 2007 099E: set_police_patrols_traffic_enabled 0 this opcode is where the problem is located. it deactivates patrols, not actually prevention forces of police (some of police is patroling the streets and some is chasing), there is no other way except lowering wanted level (till now). do not bother locking models for random veh generator it won't work either. what you can do is to cut down wanted level to 0 and disable police completely. then you spawn actors with pedtype 6- i think you get what is gonna happen when you let them be hostile by default right? edit: the good think is that they might not be able to bust you actually, maybe- i do not know. Link to comment https://gtaforums.com/topic/276389-cops-dont-use-cars/#findComment-4219304 Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now