[C.M.D] /history (Advance Copy) - Форум Cheat-Master.ru
  • Страница 1 из 1
  • 1
Модератор форума: [CM]OlegEhtler, Getbackthere, Phoenixxx_Czar  
[C.M.D] /history (Advance Copy)
iKostro Дата: Воскресенье, 23.03.2014, 09:42 | Сообщение # 1
Боец
Сообщений: 145
Статус: Offline
Вот код
Код
else if(!strcmp(cmd, "/history", true))  
     {  
         tmp = strtok(cmdtext, idx);  
         if(!strlen(tmp)) return SendClientMessage(playerid, COLOR_GREEN, " Использование: /history ID ");  
         new giveplayerid = strval(tmp);  
         new string[400];  
         if(IsPlayerConnected(giveplayerid))  
         {  
             if(strcmp(PlayerInfo[playerid][pNik1],"None",true)) format(string,sizeof(string),"1.%s\n",PlayerInfo[playerid][pNik1]);  
             if(strcmp(PlayerInfo[playerid][pNik2],"None",true)) format(string,sizeof(string),"%s2.%s\n",string,PlayerInfo[playerid][pNik2]);  
             if(strcmp(PlayerInfo[playerid][pNik3],"None",true)) format(string,sizeof(string),"%s3.%s\n",string,PlayerInfo[playerid][pNik3]);  
             if(strcmp(PlayerInfo[playerid][pNik4],"None",true)) format(string,sizeof(string),"%s4.%s\n",string,PlayerInfo[playerid][pNik4]);  
             if(strcmp(PlayerInfo[playerid][pNik5],"None",true)) format(string,sizeof(string),"%s5.%s\n",string,PlayerInfo[playerid][pNik5]);  
             if(strcmp(PlayerInfo[playerid][pNik6],"None",true)) format(string,sizeof(string),"%s6.%s\n",string,PlayerInfo[playerid][pNik6]);  
             if(strcmp(PlayerInfo[playerid][pNik7],"None",true)) format(string,sizeof(string),"%s7.%s\n",string,PlayerInfo[playerid][pNik7]);  
             if(strcmp(PlayerInfo[playerid][pNik8],"None",true)) format(string,sizeof(string),"%s8.%s\n",string,PlayerInfo[playerid][pNik8]);  
             if(strcmp(PlayerInfo[playerid][pNik9],"None",true)) format(string,sizeof(string),"%s9.%s\n",string,PlayerInfo[playerid][pNik9]);  
             if(strcmp(PlayerInfo[playerid][pNik10],"None",true)) format(string,sizeof(string),"%s10.%s\n",string,PlayerInfo[playerid][pNik10]);  
             new nik[MAX_PLAYER_NAME],ss[40];  
             GetPlayerName(giveplayerid,nik,sizeof(nik));  
             format(ss,sizeof(ss),"История ников %s",nik);  
             SPD(playerid, 3149, DIALOG_STYLE_MSGBOX,ss,string,"Ok","");  
         }  
         return true;  
     }
_SCHOKK_ Дата: Понедельник, 24.03.2014, 18:31 | Сообщение # 2
Новичок
Сообщений: 13
Статус: Offline
Не до конца вырезано.

Вы здесь: 962-й день
  • Страница 1 из 1
  • 1
Поиск: