28.03.2011, 18:49
few fixes to GNG:
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == 1)
{
if(!response) return 0;
switch(listitem)
{
case 0:// IF CHOOSED LS!
{
SetPlayerPos(playerid, COORDINATES HERE);
}
case 1: //IF CHOOSED SF!
{
SetPlayerPos(playerid, COORDINATES HERE);
}
case 2: // LV
{
SetPlayerPos(playerid, COORDINATES HERE);
}
case 3: //if choosed UFO!!
{
SetPlayerPos(playerid, COORDINATES HERE);
}
}
}
return 1;
}