Please help..
#4

Quote:
Originally Posted by iLcke
Посмотреть сообщение
1. IsPlayerInVehicle, You didn't put them in the vehicle. So try this:
Код:
if(dialogid == 2)
    {
        if(response)
        {
            new message[256+1];
            new DMV;
            if(listitem == 0)
            {
                format(message, 256, "You have chosen 'Drivers License' please drive carefully", listitem);
                SendClientMessage(playerid, 0xFFFFFFFF, message);
                DMV = AddStaticVehicle(405,-220.8077,1212.4143,19.6102,179.2256,24,1); //
               PutPlayerInVehicle(playerid, DMV, 0);
                {
                    if (IsPlayerInVehicle(playerid, DMV))
                    {
                        SetPlayerCheckpoint(playerid, -206.8228,1195.4480,19.4574, 3.0);
                        return 1;
                    }
                }
            }
Should work.
Nononoono, just no.


pawn Код:
if(dialogid == 2)
    {
        if(response)
        {
            new message[256+1];
            new DMV;
            if(listitem == 0)
            {
                format(message, 256, "You have chosen 'Drivers License' please drive carefully", listitem);
                SendClientMessage(playerid, 0xFFFFFFFF, message);
                DMV = AddStaticVehicle(405,-220.8077,1212.4143,19.6102,179.2256,24,1); //
                SetPlayerCheckpoint(playerid, -206.8228,1195.4480,19.4574, 3.0);
                return 1;
             }
         }
    }
Why did you want to check if the player was inside the vehicle when you like 1ms earlier put him in the car?
Reply


Messages In This Thread
Please help.. - by Luis- - 18.10.2010, 23:15
Re: Please help.. - by iLcke - 19.10.2010, 02:13
Re: Please help.. - by Luis- - 19.10.2010, 16:38
Re: Please help.. - by LarzI - 19.10.2010, 16:45
Respuesta: Please help.. - by The_Moddler - 19.10.2010, 16:50
Re: Please help.. - by LarzI - 19.10.2010, 16:55

Forum Jump:


Users browsing this thread: 4 Guest(s)