14.07.2014, 16:41
PHP код:
if(pInfo[playerid][pVipLevel] == 2)
{
new Text3D:label = Create3DTextLabel("Supporter", 0xFFFF00AA, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.3);
}
if(pInfo[playerid][pVipLevel] == 3)
{
new Text3D:label = Create3DTextLabel("Supporter", 0xFFFF00AA, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.3);
}
if(pInfo[playerid][pVipLevel] == 4)
{
new Text3D:label = Create3DTextLabel("Sponsor", 0xFFFF00AA, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.3);
}
if(pInfo[playerid][pVipLevel] == 5)
{
new Text3D:label = Create3DTextLabel("Elite", 0xFFFF00AA, 30.0, 40.0, 50.0, 40.0, 0);
Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.3);
}