EricW |
Дата: Воскресенье, 19.10.2014, 11:32 | Сообщение # 1
|
Новичок
Сообщений: 18
Статус: Offline
|
В public OnPlayerCommandText
Код else if (strcmp("/AnimList", cmdtext, true, 10) == 0 || strcmp("/anim", cmdtext, true, 10) == 0) { if(PlayerCuffed[playerid] == 0) { SPD(playerid,1994,DIALOG_STYLE_LIST, "Список анимаций", "[1]- Dance 1\n[2]- Dance 2\n[3]- Dance 3\n[4]- Dance 4\n[5]- Руки вверх\n[6]- Курить\n[7]- Возмущение\n[8]- Сесть\n[9]- Лечь [1]\n[10]- Лечь [2]\n[11]- Жест рукой\n[12]- Зивать \n[13]- Dance [5]\n[14]- Dance [6]\n[15]- Dance [7]\n[16]- Dance [8]\n[17]- Dance [9]\n[18]- Dance [10]\n[19]- Сесть [2]\n[20]- Dealer\n[21]- Dealer [2]\n[22]- Dealer [3]\n[23]- Dealer [4]\n[24]- Пьяная походка\n[25] Сесть [2]", "Выбрать", "Отмена"); return true; } } Ко всем case : Код case 1994: { if(response) { if(listitem == 0) { SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE1); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 1) { SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE2); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 2) { SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE3); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 3) return SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE4); else if(listitem == 4) { SetPlayerSpecialAction (playerid, SPECIAL_ACTION_HANDSUP); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 5) { ApplyAnimation(playerid,"SMOKING","M_smklean_loop",4.1, 1, 1, 1, 1, 0 ,1); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 6) { ApplyAnimation(playerid,"PED","fucku",4.0,0,0,0,0,0,1); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 7) { ApplyAnimation(playerid,"INT_OFFICE","OFF_Sit_Crash",4.1,0,1,1,1,1,1); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 8) { ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1,0,1,1,1,1,1); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 9) { ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop",4.1,0,1,1,1,1,1); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return true; } else if(listitem == 10) return ApplyAnimation(playerid,"GANGS","hndshkba",4.1,0,1,1,1,1,1); //Проваливай! else if(listitem == 11) { ApplyAnimation(playerid,"GANGS","smkcig_prtl",4.1,0,1,1,1,1,1); SetPlayerChatBubble(playerid,"зивает",COLOR_PURPLE,30.0,10000); return true; } else if(listitem == 12) return ApplyAnimation( playerid, "DANCING", "dnce_M_b", 4.1, 1, 1, 1, 1, 0 ,1); else if(listitem == 13) return ApplyAnimation( playerid, "DANCING", "dnce_M_a", 4.1, 1, 1, 1, 1, 0 ,1); else if(listitem == 14) return ApplyAnimation( playerid, "DANCING", "dnce_M_b", 4.1, 1, 1, 1, 1, 0 ,1); else if(listitem == 15) return ApplyAnimation( playerid, "DANCING", "DAN_Down_A", 4.1, 1, 1, 1, 1, 0 ,1); else if(listitem == 16) return ApplyAnimation( playerid, "DANCING", "DAN_Left_A", 4.1, 1, 1, 1, 1, 0 ,1); else if(listitem == 17) return ApplyAnimation( playerid, "DANCING", "DAN_Loop_A", 4.1, 1, 1, 1, 1, 0 ,1); else if(listitem == 18) return ApplyAnimation( playerid, "BEACH", "ParkSit_W_Loop", 4.1, 1, 1, 1, 1, 1 ,1); else if(listitem == 19) return ApplyAnimation( playerid, "DEALER", "DEALER_DEAL", 4.1, 1, 1, 1, 1, 1 ,1); else if(listitem == 20) return ApplyAnimation( playerid, "DEALER", "DEALER_IDLE_01", 4.1, 1, 1, 1, 1, 1 ,1); else if(listitem == 21) return ApplyAnimation( playerid, "DEALER", "DEALER_IDLE_03", 4.1, 1, 1, 1, 1, 1 ,1); else if(listitem == 22) return ApplyAnimation( playerid, "DEALER", "DRUGS_BUY", 4.1, 1, 1, 1, 1, 1 ,1); else if(listitem == 23) return ApplyAnimation( playerid, "RYDER", "RYD_Die_PT1", 4.1, 1, 1, 1, 1, 1 ,1); else if(listitem == 24) return ApplyAnimation(playerid,"PED","SEAT_down", 4.1,0,0,0,1,1); } else return true; }
#if defined ShowPlayerDialog SPD
✔Полтинник на CM ✔Сотка на СМ ✘Три сотки на СМ
Сообщение отредактировал EricW - Воскресенье, 19.10.2014, 11:34 |
|
|
|