[HELP] death match label's
#1

Hello I have a problem when I leave death match zone (/dmexit) then it should be destroyed dynamic3dtextlabel but it's stay if you know what I mean.
Reply
#2

Just do this
pawn Код:
Delete3DTextLabel(||Here your 3D text label ID||);
Reply
#3

do you read what I say I don't use 3dtextlabel I use dynamic3dtextlabel....
Reply
#4

Show us the codes please ?
Reply
#5

pawn Код:
CMD:dmexit(playerid, params[])
{
    printf("dmexit called, pDM is: %d",PlayerInfo[playerid][pDM]);
    switch(PlayerInfo[playerid][pDM])
    {
        case 1:
        {
            SetPlayerSkin(playerid, StariSkin[playerid]);
            PlayerInfo[playerid][pDM] = 0;
            IgracUZoni[playerid] = 0;
            SendClientMessage(playerid,SVETLOPLAVA,"[OOC DM Zona] {FFFFFF}Napustili ste OOC DM Zonu.");
            SetPlayerPos_H(playerid,57.5926,2299.3740,21.7211);
            ResetPlayerWeapons(playerid);
            DestroyDynamic3DTextLabel(timp[playerid]);
            timpl[playerid] = 0;
            KillTimer(dmztajmer[playerid]);
            KillTimer(dmztimer[playerid]);
        }
        case 2:
        {
            SetPlayerSkin(playerid, StariSkin[playerid]);
            PlayerInfo[playerid][pDM] = 0;
            IgracUZoni[playerid] = 0;
            SendClientMessage(playerid,SVETLOPLAVA,"[OOC DM Zona] {FFFFFF}Napustili ste OOC DM Zonu.");
            SetPlayerPos_H(playerid,57.5926,2299.3740,21.7211);
            ResetPlayerWeapons(playerid);
            DestroyDynamic3DTextLabel(timc[playerid]);
            timcr[playerid] = 0;
            KillTimer(dmztajmer[playerid]);
            KillTimer(dmztimer[playerid]);
        }
        default: SCM(playerid, GRAD2,"{F81414}[Greska!] {C3C3C3}Ne mozete koristiti ovu komandu jel ne igrate u dm zoni!");
    }
    return 1;
}
Reply
#6

Are you sure "timp[playerid]"/"timc[playerid]" is the right 3Dtext's id ?
Make sure of that.
Reply
#7

yes I'm sure when I enter in the zone label it's create normal but the problem is in exit
Reply
#8

Anyone? Thanks
Reply
#9

Show the code where you create the Dynamic3DTextLabels.
Reply
#10

this is for blue tim


pawn Код:
timp[playerid] = CreateDynamic3DTextLabel("(( PLAVI ))",SVETLOPLAVA,0.0,0.0,0.6,15.0,playerid,INVALID_VEHICLE_ID,0,-1,-1,-1,100.0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)