30.03.2011, 23:30
how can i make if player press 2 on top, their vehicle will fix
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
if (KEY_FIRE)
{
if(IsPlayerInAnyVehicle(playerid))
{
AddVehicleComponent(vehicleid, 1010);
}
}
return 1;
}