3D Text Label - 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)
+--- Thread: 3D Text Label (
/showthread.php?tid=428656)
3D Text Label -
Blackazur - 06.04.2013
Hello, i have an Problem the Code etc works but when the Player have ID 1 he have the VIP Label, although he dont have VIP. Why is that so? Here is the code:
Код:
if(pInfo[i][pVipLevel] >= 1)
{
vip[i] = Create3DTextLabel("I'M A VIP", 0xFFFF00FF, 30.0, 40.0, 50.0, 50.0, 0);
Attach3DTextLabelToPlayer(evacuated[i], i, 0.0, 0.0, 0.7);
}
Re: 3D Text Label -
MattSlater - 06.04.2013
Can you explain it more, I don't really understand what you are trying to say?
pawn Код:
if(pInfo[i][pVipLevel] >= 1) // Checks if they have a VIP level of 1 or above
{
vip[i] = Create3DTextLabel("I'M A VIP", 0xFFFF00FF, 30.0, 40.0, 50.0, 50.0, 0);
Attach3DTextLabelToPlayer(evacuated[i], i, 0.0, 0.0, 0.7); 'evacuated[i]' should be 'vip[i]'
}
Re: 3D Text Label -
Kontrol - 06.04.2013
Код:
if(pInfo[i][pVipLevel] >= 1) // Checks if they have a VIP level of 1 or above
{
Create3DTextLabel("I'M A VIP", 0xFFFF00FF, 30.0, 40.0, 50.0, 50.0, 0);
Attach3DTextLabelToPlayer(i, i, 0.0, 0.0, 0.7); 'evacuated[i]' should be 'vip[i]'
}
Try this.. never really used 3Dtextlabels let me know what the outcome is
Re: 3D Text Label -
Gamer_007 - 06.04.2013
pawn Код:
if(pInfo[i][pVipLevel] >= 1) // Checks if they have a VIP level of 1 or above
{
vip[i] = Create3DTextLabel("I'M A VIP", 0xFFFF00FF, 30.0, 40.0, 50.0, 50.0, 0);
Attach3DTextLabelToPlayer(vip[i], i, 0.0, 0.0, 0.7);
}