onplayerentervehicle
#3

to detect if the player used G use:
pawn Код:
OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
    if(ispassenger(playerid))
    {
        //write code here
    }
    return 1;
}
as far as I know you can't detect the "G" key as you could e.g. detect the "ENTER" key...
G is not used in the singleplayer and you can't change the key to any other...

Edit: hehe ironboy was faster
Reply


Messages In This Thread
onplayerentervehicle - by Pooh7 - 27.12.2010, 10:58
Re: onplayerentervehicle - by Ironboy500[TW] - 27.12.2010, 11:01
Re: onplayerentervehicle - by Sascha - 27.12.2010, 11:03
Re: onplayerentervehicle - by Pooh7 - 27.12.2010, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)