problema con 3d label
#4

Cambia йsto:

PHP код:
if(PlayerInfo[playerid][Level] > 0DestroyDynamic3DTextLabel(label1[playerid]);
if(
PlayerInfo[playerid][pVip] > 0DestroyDynamic3DTextLabel(label2[playerid]); 
Por йsto:

PHP код:
if(IsValidDynamic3DTextLabel(label1[playerid])) DestroyDynamic3DTextLabel(label1[playerid]);
if(
IsValidDynamic3DTextLabel(label2[playerid])) DestroyDynamic3DTextLabel(label2[playerid]); 
El otro problema lуgico es que posiblemente no estйs reiniciando PlayerInfo[playerid][Level] y PlayerInfo[playerid][pVip], entonces al spawnear crea los labels.

Lo otro es que cada vez que spawnee el jugador crearб los label's de forma infinita, para evitar йsto aсade la condiciуn que verifique si tiene creado o no el label:

PHP код:
if(!IsValidDynamic3DTextLabel(label1[playerid]))
if(!
IsValidDynamic3DTextLabel(label2[playerid])) 
Reply


Messages In This Thread
problema con 3d label - by Godin - 26.02.2017, 15:14
Respuesta: problema con 3d label - by RioYX - 26.02.2017, 15:26
Re: Respuesta: problema con 3d label - by Godin - 26.02.2017, 15:29
Re: problema con 3d label - by Unrea1 - 26.02.2017, 15:36
Re: problema con 3d label - by Godin - 26.02.2017, 15:44
Re: problema con 3d label - by Godin - 26.02.2017, 16:04
Re: problema con 3d label - by Godin - 27.02.2017, 16:01
Re: problema con 3d label - by HeisenGiromB - 27.02.2017, 16:07

Forum Jump:


Users browsing this thread: 1 Guest(s)