03.04.2010, 16:27
Solved
new vehicle = GetPlayerVehicleID(playerid);
new vehicle = GetVehicleModel( GetPlayerVehicleID(playerid));
stock IsBig(modelid)
{
switch(modelid)
{
case 403,406,408,414,416,417,423,425:return true;
case 428,431,432,433,437,443,453,455,456,460:return true;
case 476,486,487,488,497,498,499,508,511,512,513,514,515:return true;
case 519,520,524,532,548,553,563,573,577,588,598,592,593,608,609:return true;
}
return false;
}
if( IsBig( GetVehicleModel( GetPlayerVehicleID(playerid)) ) )
{
// allow teleport
}