27.12.2010, 10:58
How to detect in OnPlayerEnterVehicle if player pressed G to enter as passenger?
And what is ID of this key?
And what is ID of this key?
if(ispassenger) { //Code you want to execute if he entered as passenger }
OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if(ispassenger(playerid))
{
//write code here
}
return 1;
}