GTAGaming Forums

GTAGaming Forums (http://www.gtagaming.com/forums/index.php)
-   Grand Theft Auto IV Mods (http://www.gtagaming.com/forums/forumdisplay.php?f=318)
-   -   No blip mod (http://www.gtagaming.com/forums/showthread.php?t=116816)

xddj 06-30-2009 01:29 AM

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 ..?


All times are GMT -6. The time now is 08:47 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.