19.02.2012, 16:26
You're right, failed...
Try this... :
Try this... :
pawn Код:
if( GetVehicleModel( GetPlayerVehicleID( playerid ) ) == 420 )
{
if( ( Player[ playerid ][ Job ] != 8 ) || ( Player[ playerid ][ Job2 ] != 8 ) )
{
SendClientMessage( playerid, WHITE, "You must be a taxi driver to drive a taxi!" );
RemovePlayerFromVehicle( playerid );
return 0;
}
else
{
SendClientMessage( playerid, WHITE, "You are now accepting taxi calls!" );
OnTaxiDuty[ playerid ] = 1;
}
return 1;
}