Nikita Sparow Posted December 18, 2022 Share Posted December 18, 2022 i begginer shows icons on the map but does not show markers on all icons on the map of 111 locations only shows about 20 markers help ? {$CLEO .cs} script_name "Test" 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1818.4116 -53.7689 15.1094 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2026.6031 128.0474 28.9571 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2394.8838 -50.0857 35.3203 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1705.5292 717.4863 24.8906 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1705.6351 -75.2903 3.5674 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1686.082 -39.787 3.5569 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2499.7283 1213.3049 37.4283 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2523.6438 1222.7163 37.4283 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2175.3633 107.5921 35.3203 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1931.2858 1337.5448 7.1841 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2803.8921 -340.2074 7.1875 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2630.3435 233.4753 4.4662 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2131.2476 766.8286 69.5625 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2238.0068 103.4705 35.3203 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2706.033 375.9366 4.9686 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2133.396 493.9294 35.1641 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2655.2439 -190.6991 4.0968 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2437.4631 158.4741 35.1425 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2132.6177 826.0332 69.5547 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2481.5425 -286.432 40.5476 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2751.6045 427.5835 4.3281 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1115.4077 -964.8658 129.2187 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2205.4731 -308.9987 35.5703 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2508.8801 405.2518 27.7745 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2133.189 654.7595 52.3672 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -814.1777 -1947.9768 9.6018 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2573.8535 328.441 10.5697 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1979.3571 481.4057 35.1661 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2867.1104 487.9253 4.9141 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1184.0615 -1134.8767 129.2187 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2034.0706 201.1381 34.843 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2131.8652 537.5314 35.1719 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2674.5527 -5.543 6.1328 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1807.8573 559.2006 35.1641 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2233.156 -2572.0596 31.9219 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2237.1785 -2567.4548 31.9219 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2647.8374 -30.4665 6.1328 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1978.7802 98.098 27.6875 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2193.4807 -2139.4026 48.7401 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2293.9233 2230.9087 4.9822 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2506.0684 2345.4873 4.9769 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -1656.7557 -2684.9082 48.5989 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2760.7703 -6.841 6.9005 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2449.8574 -336.3278 60.5351 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2352.311 -323.8483 66.1531 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2392.7495 -195.2245 35.3203 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2044.347 1275.5464 7.652 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2691.135 -247.6501 6.9393 0570: [email protected] = create_asset_radar_marker_with_icon 41 at -2477.4155 97.1889 35.1824 03DC: [email protected] = create_marker_above_pickup [email protected] terminate_this_script how to fix that and how to destroy the marker when I cross it, also how to add for activation so that when I turn it on and off, the markers and icons are reset Link to comment Share on other sites More sharing options...
OrionSR Posted December 18, 2022 Share Posted December 18, 2022 The blip pool is limited to 175 elements. Many are used during a standard game, and there needs to be room for large sets of temporary blips for missions. Your overall plan needs to be adapted. The basic strategy for controlling a large set of blips or other game entities is to store their handles in an array. In your example, [email protected] stores the handle, but is immediately overwritten by the next command. A proper script would need to store each handle as unique, but there aren't many variables available in a standard cleo script. Custom cleo missions have a lot more local variables to work with. Link to comment Share on other sites More sharing options...
vladvo Posted December 18, 2022 Share Posted December 18, 2022 (edited) As an alternative - CLEO 0E2A 0E2A: add_cleo_blip rw_texture_or_radar_sprite [any] x [float] y [float] short [bool] red [int] green [int] blue [int] alpha [int] store_to handle [var CleoBlip] Check my question about radar blips. SB library says: Creates a blip that don't saves, supports any texture, alpha and don't hits the blip limit I used it in my mod - seem to work fine. Edited December 18, 2022 by vladvo Link to comment Share on other sites More sharing options...
OrionSR Posted December 18, 2022 Share Posted December 18, 2022 3 hours ago, vladvo said: I used it in my mod - seem to work fine. Isn't the blip limit the same for opcode 0E2A and standard blip commands? I suspect that Junior found a way to mark normal blips in a way that they aren't saved, so duplicates don't pile up every time a save is reloaded and saved - eventually hitting the limit. Still, using 0E2A is a good idea. The coder doesn't need to prevent saving until the blips can be removed. But if the coder wanted to remove and replace their blips during a particular session they'd still need the handles of all their blips. A Limit Adjuster could probably enable a larger blip pool, but a beginner would be better off trying to work within the normal game limits. Link to comment Share on other sites More sharing options...
vladvo Posted December 18, 2022 Share Posted December 18, 2022 13 minutes ago, OrionSR said: Isn't the blip limit the same for opcode 0E2A and standard blip commands? I don't know, never tested that. Quote from SB library: "...and don't hits the blip limit". Guess it means that there's no limit. Link to comment Share on other sites More sharing options...
Nikita Sparow Posted December 18, 2022 Author Share Posted December 18, 2022 (edited) i try this script just add new coords and when i try to join in the game, game just close i cant enter the game in samp the whole screen is black when i log in can you guys help me how i can create script {$CLEO .cs} {$USE CLEO+} thread 'BLIPLUS' wait 1000 0E2A: add_cleo_blip 45 position -1509.5 1370.5 is_short 0 RGBA 57 105 45 255 store_to [email protected] 0A93: end_custom_thread i add 3 coords why in this script is 2 i not understand this @vladvo look main {$CLEO .cs} {$USE CLEO+} thread 'BLIPLUS' wait 1000 0E2A: add_cleo_blip 45 position 2264.3113 -1260.7588 23.9766 is_short 0 RGBA 57 105 45 255 store_to [email protected] 0A93: end_custom_thread Edited December 18, 2022 by Nikita Sparow wrong word Link to comment Share on other sites More sharing options...
Nikita Sparow Posted December 18, 2022 Author Share Posted December 18, 2022 i add 2 coords and marker is invisible icon on the map work marker is invisible and gta working with 2 coords but marker is invisible i not understant this guys help haha i try to learn but its hard Link to comment Share on other sites More sharing options...
Nikita Sparow Posted December 18, 2022 Author Share Posted December 18, 2022 you can try the script in your gta sa and tell me if your marker is also invisible, the coordinates flash immediately after joining the game, you go a little forward {$CLEO .cs} {$USE CLEO+} thread 'BLIPLUS' wait 1000 0E2A: add_cleo_blip 41 position 2264.3113 -1260.7588 is_short 0 RGBA 57 105 45 255 store_to [email protected] 0A93: end_custom_thread Link to comment Share on other sites More sharing options...
vladvo Posted December 19, 2022 Share Posted December 19, 2022 0E2A is only for radar Link to comment Share on other sites More sharing options...
Nikita Sparow Posted December 19, 2022 Author Share Posted December 19, 2022 hot to add there markers ? vladimirdog2021 1 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