20.07.2012, 18:21
Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[]) { if(dialogid == ANIMS_DIALOG && response && !IsPlayerInAnyVehicle(playerid)) { switch(listitem) { case 0:LoopingAnim(playerid, "PED", "SEAT_idle", 1.0, 1, 0, 0, 0, 0); case 1:LoopingAnim(playerid,"BEACH", "ParkSit_M_loop", 4.0, 1, 0, 0, 0, 0); case 2:SetPlayerSpecialAction(playerid,SPECIAL_ACTION_DANCE1); } return 1; } return 0; }