dm zone labels
#6

You first reset the value of timpl to 0, then you destroy the label.. the code will destroy the label-id 0.

Remove this line:

Код:
        timcr[playerid] = 0;
And if you need to reset the timcr, reset it after DestroyDynamic3DTextLabel.

Example:
Код:
        SetPlayerSkin(playerid, StariSkin[playerid]);
        PlayerInfo[playerid][pDM] = 0;
        IgracUZoni[playerid] = 0;
        SendClientMessage(playerid,SVETLOPLAVA,"[OOC DM Zona] {FFFFFF}Napustili ste OOC DM Zonu.");
        SetPlayerPos(playerid,57.5926,2299.3740,21.7211);
        ResetPlayerWeapons(playerid);
        DestroyDynamic3DTextLabel(timc[playerid]);
        timcr[playerid] = 0;
EDIT: Ops, sorry. Your variables are so similar in this names, i noticed now are different variables. Check if you dont destroy timc label first
Reply


Messages In This Thread
dm zone labels - by Luca12 - 31.07.2013, 22:39
Re: dm zone labels - by ReVo_ - 01.08.2013, 00:49
Re: dm zone labels - by Luca12 - 01.08.2013, 08:38
AW: dm zone labels - by CutX - 01.08.2013, 09:21
Re: dm zone labels - by Luca12 - 01.08.2013, 12:25
Re: dm zone labels - by ReVo_ - 01.08.2013, 13:27
Re: dm zone labels - by Luca12 - 01.08.2013, 13:35
Re: dm zone labels - by ReVo_ - 01.08.2013, 13:37
Re: dm zone labels - by Luca12 - 01.08.2013, 13:42
Re: dm zone labels - by ReVo_ - 01.08.2013, 13:47

Forum Jump:


Users browsing this thread: 1 Guest(s)