|
|
|
7 registered members (fairtrader, Quad, miwok, Martin_HH, AndrewAMD, alibaba, dpn),
581
guests, and 0
spiders. |
|
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Mini map
[Re: reknak]
#369619
05/05/11 16:41
05/05/11 16:41
|
Joined: May 2009
Posts: 5,367 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,367
Caucasus
|
Try it like this:
function showMiniMap()
{
while(!player){wait(1);}
while(1)
{
area_map.x = player.x;
area_map.y = player.y;
area_map.z = player.z + mapHeight;
area_map.tilt = -90;
wait(1);
}
}
You need to be sure, that you entity you track on, is already created.
|
|
|
Re: Mini map
[Re: 3run]
#369621
05/05/11 17:00
05/05/11 17:00
|
Joined: Jan 2011
Posts: 65
reknak
Junior Member
|
Junior Member
Joined: Jan 2011
Posts: 65
|
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|
|
|
|