when pressing the key, he doesnt enters the vehicle, something different than the default
#8

it works, it only doesnt puts me in any vehicle... it does says the "entered" in console... i used yours CodyCummings, but doesnt works properly, i got this now:

pawn Код:
if(newkeys & KEY_SECONDARY_ATTACK)
    {
        print("pressed key");
        new newvehid = GetClosestVehicle(playerid, 5.0);
        if(newvehid != 0)
        {
            PutPlayerInVehicle(playerid, newvehid, 0);
            print("entered");
        }
        else
        {
             print("Failed to find car nearby!");
        }
    }
wuts wrong with this?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 4 Guest(s)