27.12.2010, 11:03
to detect if the player used G use:
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
pawn Код:
OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(ispassenger(playerid))
{
//write code here
}
return 1;
}
G is not used in the singleplayer and you can't change the key to any other...
Edit: hehe ironboy was faster