cakuzma Posted November 12, 2008 Share Posted November 12, 2008 (edited) I allready did a search to see if this code was defined but it is not so can some one help me http://sa-db.webtools4you.net/?search=09C0&show=all i have a question about a code 09C0: [email protected] = get_random_car_in_area [email protected] [email protected] [email protected] [email protected] 60.0 with_actors -1 does this code get cop cars in area as well? thanks in advance Edited November 12, 2008 by cakuzma Link to comment Share on other sites More sharing options...
NotAvailableToday Posted November 12, 2008 Share Posted November 12, 2008 it get a random car in a sphere around the player ([email protected] [email protected] [email protected]) I think I think a cop car is possible but not everytime Greetz! Link to comment Share on other sites More sharing options...
cakuzma Posted November 12, 2008 Author Share Posted November 12, 2008 it get a random car in a sphere around the player ([email protected] [email protected] [email protected]) I think I think a cop car is possible but not everytime Greetz! do you know of a code that will get a cop car everytime? thanks for the quick reply Link to comment Share on other sites More sharing options...
coin-god Posted November 12, 2008 Share Posted November 12, 2008 073E: get_car_in_sphere -1577.942 52.6333 16.3281 radius 4.0 model #INFO handle_as $TEMPVAR_ACTOR_CAR #INFO: Change it to the COP CAR model you want. I never used this code, but may help. Or you can use your code (09C0) and then check if the car it got is a cop car, with this: 0137: car [email protected] model == #COPCARLA Link to comment Share on other sites More sharing options...
cakuzma Posted November 12, 2008 Author Share Posted November 12, 2008 073E: get_car_in_sphere -1577.942 52.6333 16.3281 radius 4.0 model #INFO handle_as $TEMPVAR_ACTOR_CAR #INFO: Change it to the COP CAR model you want. I never used this code, but may help. Or you can use your code (09C0) and then check if the car it got is a cop car, with this: 0137: car [email protected] model == #COPCARLA I think i under stand what you wrote but that will get only 1 model say i want to get any cop car how would i put that Link to comment Share on other sites More sharing options...
coin-god Posted November 13, 2008 Share Posted November 13, 2008 073E: get_car_in_sphere -1577.942 52.6333 16.3281 radius 4.0 model #INFO handle_as $TEMPVAR_ACTOR_CAR #INFO: Change it to the COP CAR model you want. I never used this code, but may help. Or you can use your code (09C0) and then check if the car it got is a cop car, with this: 0137: car [email protected] model == #COPCARLA I think i under stand what you wrote but that will get only 1 model say i want to get any cop car how would i put that if or0137: car [email protected] model == #COPCARLA0137: car [email protected] model == #COPCARSF0137: car [email protected] model == #COPCARLV and the rest of the cop cars. Link to comment 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