Spawning a car question +Rep
#10

Replace this:
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");
             }
        }
    }
 }
With the one I posted. Don't replace your entire OnDialogResponse callback, only from "if(dialogid == CARMENU)"
Reply


Messages In This Thread
Spawning a car question +Rep - by Scripter12345 - 06.04.2012, 19:54
Re: Spawning a car question +Rep - by GtasaPoliceModz - 06.04.2012, 20:06
Re: Spawning a car question +Rep - by Tee - 06.04.2012, 20:14
Re: Spawning a car question +Rep - by Scripter12345 - 06.04.2012, 20:15
Re: Spawning a car question +Rep - by Scripter12345 - 06.04.2012, 20:17
Re: Spawning a car question +Rep - by Tee - 06.04.2012, 20:19
Re: Spawning a car question +Rep - by Scripter12345 - 06.04.2012, 20:20
Re: Spawning a car question +Rep - by Tee - 06.04.2012, 20:32
Re: Spawning a car question +Rep - by Scripter12345 - 06.04.2012, 20:46
Re: Spawning a car question +Rep - by Tee - 06.04.2012, 20:55

Forum Jump:


Users browsing this thread: 1 Guest(s)