05.09.2010, 15:55
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]);
}