CreateDynamicMapIcon Issue -
EdeniaGaming - 13.08.2011
When ever I add my CreateDynamicMapIcon coding I always see this annoying little red circle around where the icon is on the ground ? Why is that!
Example:
Код:
CreateDynamicMapIcon(1542.782836,-1675.100830,13.555174,30,0,-1,-1,-1,500.0); // LSPD
CreateDynamicMapIcon(-1600.482543,660.782897,7.187500,30,0,-1,-1,-1,500.0); // SFPD
CreateDynamicMapIcon(2287.1787,2431.6206,10.8203,30,0,-1,-1,-1,500.0); // LVPD
CreateDynamicMapIcon(938.3317,1733.2010,8.8516,1,30,-1,-1,-1,500.0); // FBI HQ
Re: CreateDynamicMapIcon Issue -
Donya - 13.08.2011
in your streamer.inc look for Streamer_PublicFunction and replace it with this
pawn Код:
public Streamer_PublicFunction()
{
new Float:value;
CreatePickup(0, 0, 0.0, 0.0, 0.0, 0);
CreatePlayer3DTextLabel(0, "", 0, 0.0, 0.0, 0.0, 0.0, 0, 0, 0);
CreatePlayerObject(0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
DeletePlayer3DTextLabel(0, PlayerText3D:0);
DestroyPickup(0);
DestroyPlayerObject(0, 0);
DisablePlayerCheckpoint(0);
DisablePlayerRaceCheckpoint(0);
GetPlayerInterior(0);
GetPlayerPos(0, value, value, value);
GetPlayerState(0);
GetPlayerVirtualWorld(0);
GetVehiclePos(0, value, value, value);
MovePlayerObject(0, 0, 0.0, 0.0, 0.0, 0.0);
RemovePlayerMapIcon(0, 0);
SetPlayerCheckpoint(0, 0.0, 0.0, 0.0, 0.0);
SetPlayerMapIcon(0, 0, 0.0, 0.0, 0.0, 0, 0, 0);
SetPlayerObjectPos(0, 0, 0.0, 0.0, 0.0);
SetPlayerObjectRot(0, 0, 0.0, 0.0, 0.0);
SetPlayerRaceCheckpoint(0, 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);
StopPlayerObject(0, 0);
UpdatePlayer3DTextLabelText(0, PlayerText3D:0, 0, "");
return 1;
}
Re: CreateDynamicMapIcon Issue -
EdeniaGaming - 13.08.2011
I did and I recompiled and still shows up...?
Re: CreateDynamicMapIcon Issue -
EdeniaGaming - 13.08.2011
Anything ?
Re: CreateDynamicMapIcon Issue -
Michael@Belgium - 13.08.2011
A little red circle on the ground ?! xD That's like a pickup/checkpoint ... do you've any errors?!
Re: CreateDynamicMapIcon Issue -
EdeniaGaming - 13.08.2011
Nope no errors ,