12.11.2012, 17:27
this one calls
this one wont call
i tried putting return 0; on the first but no difference
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_CARRADIO)
{
new veh = GetPlayerVehicleID(playerid);
if(response)
{
// do stuff
}
}
}
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG6)
{
if(response == 1)
{
//do stuff
}
else
{
return 1;
}
}
return 0;
}