22.02.2012, 07:14
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(response)
{
switch(listitem)
{
case 0:SetPlayerFightingStyle(playerid, 4);
case 1:SetPlayerFightingStyle(playerid, 5);
case 2:SetPlayerFightingStyle(playerid, 6);
case 3:SetPlayerFightingStyle(playerid, 7);
case 4:SetPlayerFightingStyle(playerid, 15);
case 5:SetPlayerFightingStyle(playerid, 26);
}
}
}
return 1;
}