06.04.2012, 20:55
Replace this:
With the one I posted. Don't replace your entire OnDialogResponse callback, only from "if(dialogid == CARMENU)"
pawn Код:
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == DIALOG_CAR)
{
if(response)
{
new car = strval(inputtext);
{
CreateVehicleEx(playerid,strval(inputtext), X,Y,Z+1, Angle, random(126), random(126), -1);
SendClientMessage(playerid, COLOR_GOLD, "Car Spawned");
}
}
}
}