VIP 3D Text Label
#6

global thingy
pawn Код:
new Text3D: VIP[MAX_PLAYERS] = {Text3D: INVALID_3DTEXT_ID, ...};
And Add this under OnPlayerConnect or somewhere below it.
pawn Код:
VIP[playerid] = Text3D: INVALID_3DTEXT_ID;
Add this under OnPlayerDisconnect
pawn Код:
Delete3DTextLabel(VIP[playerid]);
and
pawn Код:
if(pInfo[i][pVipLevel] >= 1)
{
    VIPLabel[playerid] = 1; //add new VIPLabel[MAX_PLAYERS]; near the other news..
    format(string, sizeof(string), "VIP");
    VIP[playerid] = Create3DTextLabel(string, COLOR_VIP, 0, 0, -20, 25, -1, 1);
    Attach3DTextLabelToPlayer(VIP[playerid], playerid, 0, 0, 0.25);
}
This may work, Try it.

EDIT : He made it first xd
Reply


Messages In This Thread
VIP 3D Text Label - by Blackazur - 04.03.2014, 13:26
AW: VIP 3D Text Label - by Blackazur - 04.03.2014, 13:44
Re: VIP 3D Text Label - by Nurgle4 - 04.03.2014, 13:53
AW: VIP 3D Text Label - by Blackazur - 04.03.2014, 14:08
Re: VIP 3D Text Label - by Konstantinos - 04.03.2014, 14:09
Re: VIP 3D Text Label - by biker122 - 04.03.2014, 14:13
Re: VIP 3D Text Label - by Nurgle4 - 04.03.2014, 14:18

Forum Jump:


Users browsing this thread: 2 Guest(s)