Old 06-30-2009   #1
xddj
Registered User
Newbie Member
 
Join Date: Jun 2009
Posts: 4
xddj is an unknown quantity at this point
No blip mod

I have a problem to remove my blip.
I tested with these functions, but nothing happens.
Code:
static Ped GetBlipInfoIdPedIndex(Blip blip) { return NativeInvoke::Invoke<Ped>("GET_BLIP_INFO_ID_PED_INDEX", blip); }
static void RemoveBlip(Blip blip) { NativeInvoke::Invoke<ScriptVoid>("REMOVE_BLIP", blip); }
What function to use to get the player blip?
And what function to delete it?

I write it like this, but nothing happens.
Code:
Ped ped;
Blip blip;

GetPlayerChar(GetPlayer(), &ped);
GetBlipInfoIdPedIndex(blip);
if (DoesBlipExist(blip))
{
RemoveBlip(blip);
}
I've tried everything and I can not find. Maybe i do a stupid error.
Someone can help me ..?
xddj is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 10:01 AM.