08.06.2016, 22:43
(
Последний раз редактировалось VZMatt; 19.06.2016 в 04:56.
)
Removed
switch(PlayerInfo[playerid][Level]) { case 1: { label1[playerid] = Create3DTextLabel("(Tester)", yellow,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } case 2: { label1[playerid] = Create3DTextLabel("(Co-Mod)", yellow,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } case 3: { label1[playerid] = Create3DTextLabel("(Moderator)", yellow,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } case 4: { label1[playerid] = Create3DTextLabel("(Admin)", yellow,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } case 5: { label1[playerid] = Create3DTextLabel("(Leader)", red,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } case 6: { label1[playerid] = Create3DTextLabel("(Manager/CEO)", red,30.0,40.0,50.0,40.0,0); Attach3DTextLabelToPlayer(label1[playerid], playerid, 0.0, 0.0, 0.4); } }
public OnPlayerDisconnect(playerid, reason) { if(PlayerInfo[playerid][Level] > 0) Delete3DTextLabel(label1[playerid]); // resto del cуdigo. return 1; }