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

eehm wut do you mean with: Or are you actually this far away that the animation/callback isn't triggered?

??

also, shouldnt it do the same as this one? just say that i entered, but doesnt puts me in?

EDIT: i tried the onplayerentervehicle thing, didnt sent a print at all, doesnt do anything, doesnt puts me in car, i have this:

pawn Код:
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    vehicleid = GetClosestVehicle(playerid, 5.0);
    if(vehicleid != 0)
    {
        PutPlayerInVehicle(playerid, vehicleid, 0);
        print("entered");
    }
    else
    {
        print("Failed to find car nearby!");
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)