Jump to content

[HELP] Customblips destroy problem


..:D&G:..

Recommended Posts

Posted

As far as i know there is an export function to destroy custom blips all what you need is:

isCustomBlipVisible -- check if the custom blip is visible or not. 
destroyCustomBlip -- then destroy it. 

Do not yield your back to your enemy, might feel something strange in your ass.

Two things are infinite the universe and human stupidity and i'm not sure about the universe.

UF: IsTextInGridList | GetGridListRowIndexFromText | Table.removeValue | removeHex | dxDrawTriangle

Skype: SaSuki102 | About Me | Youtube channel | Lua Tips & Tricks | Lua Strings | Lua Tables | Lua Operators

Posted

[quote name=..:D&G:..][quote name=..:D&G:..] using it's destroy function, I keep getting "Bad 'custom blip' argument".

Well, I said that I am using the script's destroy function, but I get that Bad custom blip argument, error..

In which case find the exported function and values it takes, then write your call in accordance with it.

Nikola Tesla is love Nikola Tesla is light.

Email: [email protected]

Posted
[quote name=..:D&G:..][quote name=..:D&G:..] using it's destroy function, I keep getting "Bad 'custom blip' argument".

Well, I said that I am using the script's destroy function, but I get that Bad custom blip argument, error..

In which case find the exported function and values it takes, then write your call in accordance with it.

I know... I am not stupid -.- It only has 1 argument, which is the blip itself...

Even though the blip is created and shown on the map without any problems, if I do exports.customblips:destroyBlip(blipName), I get that error...

76561198066470453.png

SP37Ecj.jpg?2MTA:Rust Pre-Alpha Build v.0.3:SP37Ecj.jpg?2

https://forum.mtasa.com/viewtopic.php?f=114&t=97848

2Pac: ''Only God can judge me!''

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...