07.08.2013, 03:19
Try this
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
//------------------Weapons Dialog-----------------------
if(response)
{
switch(1)
{
case 1:
{
switch(listitem)
{
case 0: GivePlayerWeapon(playerid, 24, 90);
case 1: GivePlayerWeapon(playerid, 30, 250);
}
}
}
switch(2) // Teles Dialog
{
case 1:
{
switch(listitem)
{
case 0:
{
SetPlayerPos(playerid, 1334.5587,1304.8950,10.5095);
SetPlayerInterior(playerid, 0);
}
}
}
}
}
return 1;
}