12.03.2013, 02:01
Код:
CMD:vtag(playerid, params[]) { if(PlayerInfo[playerid][pVip] >=1 ) { new Text3D:label = Create3DTextLabel("VIP", COLOR_VIOLET, 30.0, 40.0, 50.0, 40.0, 0); if(viptag[playerid] == 0 ) { GameTextForPlayer(playerid, "~p~VIP Tag Activated.",3000,5); viptag[playerid] = 1; Attach3DTextLabelToPlayer(label, playerid, 0.0, 0.0, 0.7); } else if(viptag[playerid] == 1 ) { GameTextForPlayer(playerid, "~r~VIP Tag Deactivated",3000,5); viptag[playerid] = 0; DeletePlayer3DTextLabel(playerid, PlayerText3D:label); } } else return SendClientMessage(playerid,COLOR_GREY, ERROR); return 1; }