Дмитрий |
Дата: Понедельник, 30.07.2012, 11:07 | Сообщение # 1 | Сообщить о нерабочей теме
|
Регистрация: | 03.12.2011
|
Страна: | Российская Федерация |
Репутация: |
14
|
Сообщений: | 1421 |
Награды: |
4
+
|
Статус: |
|
| Quote В public OnPlayerCommandText:
Code if(strcmp("/animList", cmdtext, true, 10) == 0) { ShowPlayerDialog(playerid, 2008, DIALOG_STYLE_LIST, "Анимации", "[1] Заводной\n[2] Медленный\n[3] Стриптиз\n[4] Руки вверх\n[5] Сесть\n[6] Встать\n[7- Замереть\n[8] Смирно\n[9] Рукопожатие\n[10] Привет кулаками\n[11] Пузом в пузо\n[12] Стоять\n[13] Читать рэп\n[14] Facepalm\n[15] Встать на колени\n[16] Крэк (сидеть)\n[17] Спать\n[18] Сидеть\n[19] Стоять на руках\n[20] Dealer\n[21] Гопник\n[22] Лежать", "Выбрать", "Отмена"); return 1; }
Quote В public OnDialogResponse:
Code if(dialogid == 1) { if(response) { if(listitem == 0) { SetPlayerSpecialAction(playerid, 5); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 1) { ApplyAnimation(playerid, "DANCING", "DAN_Loop_A", 4.0999, 0, 1, 1, 1, 1, 1); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 2) { SetPlayerSpecialAction (playerid, SPECIAL_ACTION_DANCE4); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 3) { SetPlayerSpecialAction(playerid, 10); return 1; } else if(listitem == 4) { ApplyAnimation(playerid, "Attractors", "Stepsit_in", 4.0999, 0, 1, 1, 1, 1, 0); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 5) { ApplyAnimation(playerid, "Attractors", "Stepsit_out", 4.0999, 0, 1, 1, 1, 1, 0); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 6) { ApplyAnimation(playerid, "FOOD", "SHP_Tray_Lift_Out", 4.0999, 0, 1, 1, 1, 1, 0); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 7) { ApplyAnimation(playerid, "FOOD", "SHP_Tray_Out", 4.0999, 0, 1, 1, 1, 1, 0); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 8) { ApplyAnimation(playerid, "GANGS", "hndshkca", 4.0999, 0, 1, 1, 1, 1, 0); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 9) { ApplyAnimation(playerid, "GANGS", "hndshkda", 4.0999, 0, 1, 1, 1, 1, 0); PlayerPlaySound(playerid, 1058, 0.0, 0.0, 0.0); return 1; } else if(listitem == 10) { ApplyAnimation(playerid, "GANGS", "hndshkea", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 11) { ApplyAnimation(playerid, "GANGS", "leanIN", 4.0999, 0, 1, 1, 1, 1, 0); SetPlayerChatBubble(playerid,"зивает",COLOR_PURPLE,30.0,10000); return 1; } else if(listitem == 12) { ApplyAnimation(playerid, "GANGS", "prtial_gngtlkB", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 13) { ApplyAnimation(playerid, "OTB", "wtchrace_lose", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 14) { ApplyAnimation(playerid, "COP_AMBIENT", "Copbrowse_shake", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 15) { ApplyAnimation(playerid, "CRACK", "crckidle1", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 16) { ApplyAnimation(playerid, "CRACK", "crckidle2", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 17) { ApplyAnimation(playerid, "JST_BUISNESS", "girl_02", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 18) { ApplyAnimation(playerid, "DAM_JUMP", "DAM_Dive_Loop", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 19) { ApplyAnimation(playerid, "DEALER", "DEALER_IDLE", 4.0999, 0, 1, 1, 1, 1, 0); } else if(listitem == 20) { ApplyAnimation(playerid, "TATTOOS", "TAT_ArmL_Out_T", 4.0999, 0, 1, 1, 1, 1, 0); return 1; } else if(listitem == 21) { ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop",4.1,0,1,1,1,1); return 1; } else if(listitem == 22) { ApplyAnimation( playerid, "DEALER", "DRUGS_BUY", 4.1, 1, 1, 1, 1, 1 ,1); return 1; } else if(listitem == 23) { ApplyAnimation( playerid, "RYDER", "RYD_Die_PT1", 4.1, 1, 1, 1, 1, 1 ,1); return 1; } else if(listitem == 24) { ApplyAnimation(playerid,"PED","SEAT_down", 4.1, 0, 0, 0, 0, 0 ,1); return 1; } } else { return 1; } }
Автор: UlkiorraJeezy
From Russia With Love!
|
|
|
|