Wolfsbane Posted August 23, 2009 Share Posted August 23, 2009 I want the police and hospital icons to appear on the radar...No! Not only them. All the radar icons that are hidden! But my coding knowledge is 0.1%. I need some help. Link to comment Share on other sites More sharing options...
gtasearcher Posted August 23, 2009 Share Posted August 23, 2009 (edited) Buna. Pai da-mi si mie un exemplu de iconita de radar ascunsa. Te referi la cele care dispar dupa anumite misiuni? OK atunci. Foloseste template-ul asta pentru un CLEO: {$CLEO}thread 'RDR_IC'0A95: enable_thread_saving:RDR_ICwhile not Player.Defined($PLAYER_CHAR)wait 0end02A7: [email protected] = create_icon_marker_and_sphere {numarul markerlui, le poti gasi pe toate in Sanny Builder Help>GTA SA>Radar Icons} at {x, y, z}018B: set_marker [email protected] radar_mode 2 {fara sfera, doar icon-ul}0A93: end_custom_thread [email protected] este variabila care detine markerul. Poti folosi intr-un script simplu de la [email protected] la [email protected] [[email protected] si [email protected] sunt timere] {x, y, z} sunt coordanetele X Y Z. Cat timp esti in joc si intr-un script Sanny apasa CTRL+SHIFT+C pentru inserarea acestora din joc, si CTRL+SHIFT+E pentru inserarea roatatie. Deci doar repeta 0267: si 018B: inserand de fiecare data o noua variabila, si noi coordonate. 0A93 TREBUIE SA FIE LA SFARSIT NEAPARAT!!!! !!!!!! ATENTIE !!!!!!!! GTA-urile pot folosi doar pana la 16 marker in acelasi timp. Unele nu o sa apara daca depasesti limita. Te sfatuiesc sa citesti Mission Coding for Dummies! de Dutchy3010 pentru a invata scripting. _______________________________________________________________________________________________________ Well gimme an example of hidden icons. Do you mean those that dissapear after certain missions? OK then. Use this template for a CLEO: {$CLEO}thread 'RDR_IC'0A95: enable_thread_saving:RDR_ICwhile not Player.Defined($PLAYER_CHAR)wait 0end02A7: [email protected] = create_icon_marker_and_sphere {nr of the marker, you can find all in Sanny Builder Help>GTA SA>Radar Icons} at {x, y, z}018B: set_marker [email protected] radar_mode 2 {without a sphere, only the marker}0A93: end_custom_thread [email protected] is the variable which handles the marker. You can use from [email protected] to [email protected] in a simple script [[email protected] and [email protected] are timers]. {x, y, z} are X Y Z coordonates. While SA is running and a Sanny script is opened, press CTRL+SHIFT+C to insert coords from the game and CTRL+SHIFT+E to insert current player angle. So just repeat 0267: and 018B: always inserting a new variable, and new coordonates. 0A93 MUST BE AT THE END OF THE SCRIPT!!! !!!WARNING!!!! GTAs can use up to 16 radar markers at the same time. Some might dissapear if exciding the limit. I advise you to read Dutchy3010's Mission Coding for Dummies! to learn scripting. Edited August 23, 2009 by gtasearcher Link to comment Share on other sites More sharing options...
james227uk Posted August 23, 2009 Share Posted August 23, 2009 Your better off posting that in English. So the majority of the community can read it. Link to comment Share on other sites More sharing options...
Wolfsbane Posted August 23, 2009 Author Share Posted August 23, 2009 Buna. Pai da-mi si mie un exemplu de iconita de radar ascunsa. Te referi la cele care dispar dupa anumite misiuni? OK atunci. Foloseste template-ul asta pentru un CLEO: {$CLEO}thread 'RDR_IC'0A95: enable_thread_saving:RDR_ICwhile not Player.Defined($PLAYER_CHAR)wait 0end02A7: [email protected] = create_icon_marker_and_sphere {numarul markerlui, le poti gasi pe toate in Sanny Builder Help>GTA SA>Radar Icons} at {x, y, z}018B: set_marker [email protected] radar_mode 2 {fara sfera, doar icon-ul}0A93: end_custom_thread [email protected] este variabila care detine markerul. Poti folosi intr-un script simplu de la [email protected] la [email protected] [[email protected] si [email protected] sunt timere] {x, y, z} sunt coordanetele X Y Z. Cat timp esti in joc si intr-un script Sanny apasa CTRL+SHIFT+C pentru inserarea acestora din joc, si CTRL+SHIFT+E pentru inserarea roatatie. Deci doar repeta 0267: si 018B: inserand de fiecare data o noua variabila, si noi coordonate. 0A93 TREBUIE SA FIE LA SFARSIT NEAPARAT!!!! !!!!!! ATENTIE !!!!!!!! GTA-urile pot folosi doar pana la 16 marker in acelasi timp. Unele nu o sa apara daca depasesti limita. Te sfatuiesc sa citesti Mission Coding for Dummies! de Dutchy3010 pentru a invata scripting. _______________________________________________________________________________________________________ Well gimme an example of hidden icons. Do you mean those that dissapear after certain missions? OK then. Use this template for a CLEO: {$CLEO}thread 'RDR_IC'0A95: enable_thread_saving:RDR_ICwhile not Player.Defined($PLAYER_CHAR)wait 0end02A7: [email protected] = create_icon_marker_and_sphere {nr of the marker, you can find all in Sanny Builder Help>GTA SA>Radar Icons} at {x, y, z}018B: set_marker [email protected] radar_mode 2 {without a sphere, only the marker}0A93: end_custom_thread [email protected] is the variable which handles the marker. You can use from [email protected] to [email protected] in a simple script [[email protected] and [email protected] are timers]. {x, y, z} are X Y Z coordonates. While SA is running and a Sanny script is opened, press CTRL+SHIFT+C to insert coords from the game and CTRL+SHIFT+E to insert current player angle. So just repeat 0267: and 018B: always inserting a new variable, and new coordonates. 0A93 MUST BE AT THE END OF THE SCRIPT!!! !!!WARNING!!!! GTAs can use up to 16 radar markers at the same time. Some might dissapear if exciding the limit. I advise you to read Dutchy3010's Mission Coding for Dummies! to learn scripting. Exemplu de iconita ascunsa: Spitalul (crucea rosie) Hidden icon example: Hospital (red cross) Multumesc oricum pentru reply! Anyway, thank you for the reply! Link to comment Share on other sites More sharing options...
TheSiggi Posted August 23, 2009 Share Posted August 23, 2009 What the.....??? I have to agree with james227UK.....I request english language too... do you still need help or is your question answered now? greets Link to comment Share on other sites More sharing options...
Wolfsbane Posted August 23, 2009 Author Share Posted August 23, 2009 What the.....??? I have to agree with james227UK.....I request english language too... do you still need help or is your question answered now? greets I still need help Link to comment Share on other sites More sharing options...
gtasearcher Posted August 24, 2009 Share Posted August 24, 2009 Well if you need the numbers for the hidden icons, they are 20 Fire Dept22 Hospital30 Police Dept Link to comment Share on other sites More sharing options...
Wolfsbane Posted August 24, 2009 Author Share Posted August 24, 2009 Here. Look what I have done: {$CLEO}thread 'RDR_IC'0A95: enable_thread_saving:RDR_ICwhile not Player.Defined($PLAYER_CHAR)wait 0end02A7: [email protected] = create_icon_marker_and_sphere 22 at {2025.4758 -1421.7811 16.9922}018B: set_marker [email protected] radar_mode 202A7: [email protected] = create_icon_marker_and_sphere 22 at {1578.446 1770.6816 10.8203}018B: set_marker [email protected] radar_mode 202A7: [email protected] = create_icon_marker_and_sphere 22 at {-2570.5107 1139.5815 55.8655}018B: set_marker [email protected] radar_mode 202A7: [email protected] = create_icon_marker_and_sphere 22 at {1182.5273 -1325.3087 13.5807}018B: set_marker [email protected] radar_mode 202A7: [email protected] = create_icon_marker_and_sphere 22 at {-2657.9629 622.621 14.4531}018B: set_marker [email protected] radar_mode 202A7: [email protected] = create_icon_marker_and_sphere 22 at {1245.5892 331.8202 19.5547}018B: set_marker [email protected] radar_mode 202A7: [email protected] = create_icon_marker_and_sphere 22 at {-2196.96 -2306.3442 30.625}018B: set_marker [email protected] radar_mode 20A93: end_custom_thread I still need to add 2 more hospitals. And if I want to compile it, it says 'Not enough actual parameters. Expected 5 params." Link to comment Share on other sites More sharing options...
gtasearcher Posted August 24, 2009 Share Posted August 24, 2009 You got it a bit wrong bud. You DON'T need the parantheses { } Just put the coords. Link to comment Share on other sites More sharing options...
Wolfsbane Posted August 24, 2009 Author Share Posted August 24, 2009 You got it a bit wrong bud. You DON'T need the parantheses { } Just put the coords. The mod is working but I don't like something: The hospital icons appear everytime (even if I'm not near them). How to fix that? Link to comment Share on other sites More sharing options...
gtasearcher Posted August 24, 2009 Share Posted August 24, 2009 You got it a bit wrong bud. You DON'T need the parantheses { } Just put the coords. The mod is working but I don't like something: The hospital icons appear everytime (even if I'm not near them). How to fix that? Replace 02A7: with 0570: Link to comment Share on other sites More sharing options...
james227uk Posted August 24, 2009 Share Posted August 24, 2009 No buddy, It can't work. Useing { } around coords is not only invalid entry, it is commenting out your coords. The game cannot read the comments, since these aren't added to the compiled version. 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