SA-MP Forums Archive
Delete3DTextLabel & Label Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Delete3DTextLabel & Label Problem (/showthread.php?tid=171887)



Delete3DTextLabel & Label Problem - MJ! - 28.08.2010

pawn Код:
new Text3D: Tattos[5][MAX_PLAYERS]; // 5 tattos per player

// somewhere in my command
SetTimerEx("DestroyTatto",5000,false,"d",Tattos[k][playerid]);

forward DestroyTatto(Text3D:label);
public DestroyTatto(Text3D:label)
{
    if(label) Delete3DTextLabel(label);
};
If i do this, i get warning ( tag mismatch at SetTimerEx )

but if i change SetTimerEx("DestroyTatto",5000,false,"d",Tattos[k][playerid]) to: SetTimerEx("DestroyTatto",5000,false,"d",_:Tattos[k][playerid]) i don't get warning, but after 5 seconds my label isn't deleted ...


Re: Delete3DTextLabel & Label Problem - Claude - 28.08.2010

pawn Код:
forward DestroyTatto();
public DestroyTatto()
{    
     Delete3DTextLabel(Text3D); // or the other name of the 3d text
}



Re: Delete3DTextLabel & Label Problem - MJ! - 28.08.2010

No because i must delete the val of Tattos[k][playerid] ... i have to delete more text3d's ... not only 1