Thread: No blip mod
View Single Post
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