27.09.2018, 12:23
Quote:
if(!strcmp(cmd,"/Achievements", true) || !strcmp(cmd,"/Achieve",true)) { new Achieve[19000]; format(Achieve,sizeof(Achieve),"{FFFFFF} ---------------- {FFFF00}Easy Achievements: {FFFFFF}----------------\n{00FF00}1). AchieveDM - аъвш: дшщод мщшъ [Completed]\n{FF0000}2). Settings - аъвш: двгшеъ дощъощ [Uncompleted]\n{FF0000}3). Help - аъвш: дфтмъ дфчегд мтжшд [Uncompleted]\n{FF0000}4). DoarIsrael - аъвш: щймен авшъ шйщйеп [Uncompleted]\n",String); ShowPlayerDialog(playerid,7966,DIALOG_STYLE_LIST," AchieveDM - шщйоъ даъвшйн",Achieve,"бзш","бйием"); if(userdata[playerid][settings] == 1) { format(Achieve,sizeof(Achieve),"{FFFFFF} ---------------- {FFFF00}Easy Achievements: {FFFFFF}----------------\n{00FF00}1). AchieveDM - аъвш: дшщод мщшъ [Completed]\n{00FF00}2). Settings - аъвш: двгшеъ дощъощ [Completed]\n{FF0000}3). Help - аъвш: дфтмъ дфчегд мтжшд [Uncompleted]\n{FF0000}4). DoarIsrael - аъвш: щймен авшъ шйщйеп [Uncompleted]",Achieve); ShowPlayerDialog(playerid,7966,DIALOG_STYLE_LIST," AchieveDM - шщйоъ даъвшйн",Achieve,"бзш","бйием"); } if(userdata[playerid][help] == 1) { format(Achieve,sizeof(Achieve),"{FFFFFF} ---------------- {FFFF00}Easy Achievements: {FFFFFF}----------------\n{00FF00}1). AchieveDM - аъвш: дшщод мщшъ\n{FF0000}2). Settings - аъвш: двгшеъ дощъощ [Uncompleted]\n{00FF00}3). Help - аъвш: дфтмъ дфчегд мтжшд [Completed]\n{FF0000}{FF0000}4). DoarIsrael - аъвш: щймен авшъ шйщйеп [Uncompleted]",Achieve); ShowPlayerDialog(playerid,7966,DIALOG_STYLE_LIST," AchieveDM - шщйоъ даъвшйн",Achieve,"бзш","бйием"); } if(userdata[playerid][help] == 1 && userdata[playerid][settings] == 1) { format(Achieve,sizeof(Achieve),"{FFFFFF} ---------------- {FFFF00}Easy Achievements: {FFFFFF}----------------\n{00FF00}1). AchieveDM - аъвш: дшщод мщшъ [Completed]\n{00FF00}2). Settings - аъвш: двгшеъ дощъощ [Completed]\n{00FF00}3). Help - аъвш: дфтмъ дфчегд мтжшд [Completed]\n{FF0000}4). DoarIsrael - аъвш: щймен авшъ шйщйеп [Uncompleted]",Achieve); ShowPlayerDialog(playerid,7966,DIALOG_STYLE_LIST," AchieveDM - шщйоъ даъвшйн",Achieve,"бзш","бйием"); } if(userdata[playerid][agra] == 1) { format(Achieve,sizeof(Achieve),"{FFFFFF} ---------------- {FFFF00}Easy Achievements: {FFFFFF}----------------\n{00FF00}1). AchieveDM - аъвш: дшщод мщшъ [Completed]\n{FF0000}2). Settings - аъвш: двгшеъ дощъощ [Uncompleted]\n{FF0000}3). Help - аъвш: дфтмъ дфчегд мтжшд [Uncompleted]\n{00FF00}4). DoarIsrael - аъвш: щймен авшъ шйщйеп [Completed]",Achieve); ShowPlayerDialog(playerid,7966,DIALOG_STYLE_LIST," AchieveDM - шщйоъ даъвшйн",Achieve,"бзш","бйием"); } if(userdata[playerid][agra] == 1 && userdata[playerid][settings] == 1 && userdata[playerid][help] == 1) { format(Achieve,sizeof(Achieve),"{FFFFFF} ---------------- {FFFF00}Easy Achievements: {FFFFFF}----------------\n{00FF00}1). AchieveDM - аъвш: дшщод мщшъ [Completed]\n{00FF00}2). Settings - аъвш: двгшеъ дощъощ [Completed]\n{00FF00}3). Help - аъвш: дфтмъ дфчегд мтжшд [Completed]\n{00FF00}4). DoarIsrael - аъвш: щймен авшъ шйщйеп [Completed]",Achieve); ShowPlayerDialog(playerid,7966,DIALOG_STYLE_LIST," AchieveDM - шщйоъ даъвшйн",Achieve,"бзш","бйием"); } if(userdata[playerid][agra] == 1 && userdata[playerid][settings] == 1) { format(Achieve,sizeof(Achieve),"{FFFFFF} ---------------- {FFFF00}Easy Achievements: {FFFFFF}----------------\n{00FF00}1). AchieveDM - аъвш: дшщод мщшъ [Completed]\n{00FF00}2). Settings - аъвш: двгшеъ дощъощ [Completed]\n{FF0000}3). Help - аъвш: дфтмъ дфчегд мтжшд [Uncompleted]\n{00FF00}4). DoarIsrael - аъвш: щймен авшъ шйщйеп [Completed]",Achieve); ShowPlayerDialog(playerid,7966,DIALOG_STYLE_LIST," AchieveDM - шщйоъ даъвшйн",Achieve,"бзш","бйием"); } if(userdata[playerid][agra] == 1 && userdata[playerid][help] == 1) { format(Achieve,sizeof(Achieve),"{FFFFFF} ---------------- {FFFF00}Easy Achievements: {FFFFFF}----------------\n{00FF00}1). AchieveDM - аъвш: дшщод мщшъ [Completed]\n{00FF00}2). Settings - аъвш: двгшеъ дощъощ [Completed]\n{00FF00}3). Help - аъвш: дфтмъ дфчегд мтжшд [Completed]\n{00FF00}4). DoarIsrael - аъвш: щймен авшъ шйщйеп [Completed]",Achieve); ShowPlayerDialog(playerid,7966,DIALOG_STYLE_LIST," AchieveDM - шщйоъ даъвшйн",Achieve,"бзш","бйием"); } return 1; } |
UnCompleted Achievements = Red.
Trying to make it better... to many lines thanks for help !