[AJUDA] Attach3DTextLabelToPlayer - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [AJUDA] Attach3DTextLabelToPlayer (
/showthread.php?tid=310849)
[AJUDA] Attach3DTextLabelToPlayer -
L.S.T - 14.01.2012
Galera eu crio o Attach3DTextLabelToPlayer numa boa
PHP код:
new Text3D:label = Create3DTextLabel("Help", 0x008080FF, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7);
Mas quando o Jogador Sai Como eu fasco para apagar esse Attach3DTextLabelToPlayer?
Olhei no Wiki SA-MP mas nгo consegio apagar nгo algem min ajuda?
Re: [AJUDA] Attach3DTextLabelToPlayer -
armandodo - 14.01.2012
Delete3DTextLabel(label[playerid]);
__________________________________________________ ____________
ALGUEM ME AJUDA AI!! PQ MEU FS TA TRAVANDO O MEU VPS
Re: [AJUDA] Attach3DTextLabelToPlayer -
L.S.T - 14.01.2012
Deu erro:
PHP код:
C:\Users\Lucas\Desktop\SAMP - TBD\filterscripts\lstadmin.pwn(217) : error 028: invalid subscript (not an array or too many subscripts): "label"
C:\Users\Lucas\Desktop\SAMP - TBD\filterscripts\lstadmin.pwn(217) : warning 215: expression has no effect
C:\Users\Lucas\Desktop\SAMP - TBD\filterscripts\lstadmin.pwn(217) : error 001: expected token: ";", but found "]"
C:\Users\Lucas\Desktop\SAMP - TBD\filterscripts\lstadmin.pwn(217) : error 029: invalid expression, assumed zero
C:\Users\Lucas\Desktop\SAMP - TBD\filterscripts\lstadmin.pwn(217) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
4 Errors.
Linha:
PHP код:
if(PlayerInfo[playerid][pVIP] == 1)
{
new Text3D:label;
Delete3DTextLabel(label[playerid]);//essa й a linha 217
}
Re: [AJUDA] Attach3DTextLabelToPlayer -
armandodo - 14.01.2012
esse if(PlayerInfo[playerid][pVIP] == 1) ta no login... onplayerspawn ... onplayerdisconnect
Re: [AJUDA] Attach3DTextLabelToPlayer -
victor_h666 - 14.01.2012
Se quiser apagar quando o player sair sу coloca o Delete3DTextLabel; no OnPlayerDisconnect.