How to solve this >_<
#8

pawn Код:
if(dialogid == 13)
{
    if(response == 0) return SendClientMessage(playerid, 0xff0000ff, "[BoT] You Closed The MoreBikes Dialog");
    switch(listitem)
    {
        case 0:
        {
            new Float:X, Float:Y, Float:Z, Float:Angle, Car;
            GetPlayerPos(playerid, X, Y, Z);
            GetPlayerFacingAngle(playerid, Angle);
            Car = CreateVehicle(521, X + 3.0, Y, Z + 1.0, Angle, -1, -1, 5000);
            PutPlayerInVehicle(playerid, Car, 0);
        }
        case 1:
        {
            new Float:X, Float:Y, Float:Z, Float:Angle, Car;
            GetPlayerPos(playerid, X, Y, Z);
            GetPlayerFacingAngle(playerid, Angle);
            Car = CreateVehicle(523, X + 3.0, Y, Z + 1.0, Angle, -1, -1, 5000);
            PutPlayerInVehicle(playerid, Car, 0);
        }
        case 2:
        {
            new Float:X, Float:Y, Float:Z, Float:Angle, Car;
            GetPlayerPos(playerid, X, Y, Z);
            GetPlayerFacingAngle(playerid, Angle);
            Car = CreateVehicle(463, X + 3.0, Y, Z + 1.0, Angle, -1, -1, 5000);
            PutPlayerInVehicle(playerid, Car, 0);
        }
        case 3:
        {
            new Float:X, Float:Y, Float:Z, Float:Angle, Car;
            GetPlayerPos(playerid, X, Y, Z);
            GetPlayerFacingAngle(playerid, Angle);
            Car = CreateVehicle(586, X + 3.0, Y, Z + 1.0, Angle, -1, -1, 5000);
            PutPlayerInVehicle(playerid, Car, 0);
        }
        case 4:
        {
            new Float:X, Float:Y, Float:Z, Float:Angle, Car;
            GetPlayerPos(playerid, X, Y, Z);
            GetPlayerFacingAngle(playerid, Angle);
            Car = CreateVehicle(468, X + 3.0, Y, Z + 1.0, Angle, -1, -1, 5000);
            PutPlayerInVehicle(playerid, Car, 0);
        }
        case 5:
        {
            new Float:X, Float:Y, Float:Z, Float:Angle, Car;
            GetPlayerPos(playerid, X, Y, Z);
            GetPlayerFacingAngle(playerid, Angle);
            Car = CreateVehicle(471, X + 3.0, Y, Z + 1.0, Angle, -1, -1, 5000);
            PutPlayerInVehicle(playerid, Car, 0);
        }
    }
}
Try this and check your OnDialogResponse callback it's probably not closed.
Reply


Messages In This Thread
How to solve this >_< - by MTiFa - 12.02.2014, 20:54
Re: How to solve this >_< - by Golimad - 12.02.2014, 21:08
Re: How to solve this >_< - by Private200 - 12.02.2014, 21:11
Re: How to solve this >_< - by MTiFa - 12.02.2014, 21:17
Re: How to solve this >_< - by Konstantinos - 12.02.2014, 21:21
Re: How to solve this >_< - by Private200 - 12.02.2014, 21:45
Re: How to solve this >_< - by MTiFa - 13.02.2014, 07:03
Re: How to solve this >_< - by DaniceMcHarley - 13.02.2014, 07:07
Re: How to solve this >_< - by MTiFa - 13.02.2014, 07:16

Forum Jump:


Users browsing this thread: 3 Guest(s)