04.03.2014, 14:13
global thingy
And Add this under OnPlayerConnect or somewhere below it.
Add this under OnPlayerDisconnect
and
This may work, Try it.
EDIT : He made it first xd
pawn Код:
new Text3D: VIP[MAX_PLAYERS] = {Text3D: INVALID_3DTEXT_ID, ...};
pawn Код:
VIP[playerid] = Text3D: INVALID_3DTEXT_ID;
pawn Код:
Delete3DTextLabel(VIP[playerid]);
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);
}
EDIT : He made it first xd