05.05.2009, 22:35
Quote:
|
Originally Posted by cj101
|
Example:
pawn Код:
IsPlayerInPlane( playerid )
{
if ( !IsPlayerInAnyVehicle( playerid ) ) return false; //this will save doing the model/switch code if true
new
v = GetVehicleModel( GetPlayerVehicleID( playerid ) );
switch ( v )
{
case 548, 469, 447, 563, 497, 488, 487, 417, 425 : return true;
}
return false;
}

