Premium Member Problem
#2

pawn Код:
new Text3D:premiumtext[MAX_PLAYERS];

public OnPlayerConnect(playerid)
{
    if(IsPlayerPremium(playerid))
    {
        premiumtext[playerid] = Create3DTextLabel("Premium Member", 0xAA3333AA, 0.0, 0.0, 0.0, 50.0, 0, 1);
        Attach3DTextLabelToPlayer(premiumtext[playerid], 0.0, 0.0, 1.3);
    }
}

public OnPlayerDisconnect(playerid, reason)
{
    Delete3DTextLabel(premiumtext[playerid]);
}
Reply


Messages In This Thread
Premium Member Problem - by fie - 05.09.2010, 14:50
Re: Premium Member Problem - by Mauzen - 05.09.2010, 15:55

Forum Jump:


Users browsing this thread: 2 Guest(s)